aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorYingwei Zheng <dtcxzyw2333@gmail.com>2024-05-19 16:08:58 +0800
committerGitHub <noreply@github.com>2024-05-19 16:08:58 +0800
commit9940620f6eab50deeaed0d976b2ea0afd007ba24 (patch)
tree141fd7ed767e2980edcb8f6e53b8b6e184ec9259 /clang/lib/CodeGen/CodeGenModule.cpp
parentef890572f379273da09db964b9ea1b67aa324762 (diff)
downloadllvm-9940620f6eab50deeaed0d976b2ea0afd007ba24.zip
llvm-9940620f6eab50deeaed0d976b2ea0afd007ba24.tar.gz
llvm-9940620f6eab50deeaed0d976b2ea0afd007ba24.tar.bz2
[GISel][RISCV] Legalize G_CONSTANT_FOLD_BARRIER (#89960)
This patch supports `G_CONSTANT_FOLD_BARRIER` on RISCV to generate the following inst seq without crash: ``` define i64 @xor_and_i64(i64 %x) { entry: %y = and i64 %x, 16383 %z = xor i64 %y, 16368 ret i64 %z } ```
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions