diff options
| author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-05-19 16:08:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-19 16:08:58 +0800 |
| commit | 9940620f6eab50deeaed0d976b2ea0afd007ba24 (patch) | |
| tree | 141fd7ed767e2980edcb8f6e53b8b6e184ec9259 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ef890572f379273da09db964b9ea1b67aa324762 (diff) | |
[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 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
