aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-02-22 09:06:49 -0800
committerGitHub <noreply@github.com>2024-02-22 09:06:49 -0800
commitc1716e3fcf4e43b4a328731920f76b2fce9485d0 (patch)
tree76621ec4b2190c55717b904ec4914818638f0267 /clang/lib/CodeGen/CodeGenModule.cpp
parenta51f4afc5aec8145091fead1d68c81e7d210fc0d (diff)
downloadllvm-c1716e3fcf4e43b4a328731920f76b2fce9485d0.zip
llvm-c1716e3fcf4e43b4a328731920f76b2fce9485d0.tar.gz
llvm-c1716e3fcf4e43b4a328731920f76b2fce9485d0.tar.bz2
[DAGCombiner][RISCV] CSE zext nneg and sext. (#82597)
If we have a sext and a zext nneg with the same types and operand we should combine them into the sext. We can't go the other way because the nneg flag may only be valid in the context of the uses of the zext nneg.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions