diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-10-01 14:20:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:20:10 +0800 |
commit | d62776d03323e709abb8e4734e0ae36f76dba815 (patch) | |
tree | 1dc315df0a8ddbb187047a3f79cc729a7138691f /clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp | |
parent | 6e0d519b3937a2f96179e40f417bc5cc79f3adba (diff) | |
download | llvm-d62776d03323e709abb8e4734e0ae36f76dba815.zip llvm-d62776d03323e709abb8e4734e0ae36f76dba815.tar.gz llvm-d62776d03323e709abb8e4734e0ae36f76dba815.tar.bz2 |
[LVI] Handle constant value lattice in `getEdgeValueLocal` (#161410)
Closes https://github.com/llvm/llvm-project/issues/161367.
In https://github.com/llvm/llvm-project/pull/157614, we ignored cases
where OpLatticeVal might be a constant or notconstant. Directly
returning the result causes a type mismatch. I apologize for the
oversight in the previous code review.
This patch applies the cast op to constants. For notconstant value
lattices, I'd leave it as a todo (it is similar to the constant case,
except for trunc without nsw/nuw).
Diffstat (limited to 'clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp')
0 files changed, 0 insertions, 0 deletions