aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorLiqinWeng <liqin.weng@spacemit.com>2024-12-10 11:17:54 +0800
committerGitHub <noreply@github.com>2024-12-10 11:17:54 +0800
commit3083acc215e9d01c4c41064aa7dd75aeba975e29 (patch)
tree6ef1e1cf525e87f1669d40bc15a0e6b4c9c5859a /clang/lib/CodeGen/CodeGenModule.cpp
parent9a06fb7e5c00d1379688645c2c28955664016278 (diff)
downloadllvm-3083acc215e9d01c4c41064aa7dd75aeba975e29.zip
llvm-3083acc215e9d01c4c41064aa7dd75aeba975e29.tar.gz
llvm-3083acc215e9d01c4c41064aa7dd75aeba975e29.tar.bz2
[DAGCombine] Remove oneuse restrictions for RISCV in folding (shl (add_nsw x, c1)), c2) and folding (shl(sext(add x, c1)), c2) in some scenarios (#101294)
This patch remove the restriction for folding (shl (add_nsw x, c1)), c2) and folding (shl(sext(add x, c1)), c2), and test case from dhrystone , see this link: riscv32: https://godbolt.org/z/o8GdMKrae riscv64: https://godbolt.org/z/Yh5bPz56z
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions