aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorStefan Pintilie <pintilie@synopsys.com>2025-03-31 10:02:12 -0400
committerGitHub <noreply@github.com>2025-03-31 10:02:12 -0400
commit8d69e953b5a894c215b0cff7c6b0687b2b492318 (patch)
tree1458ea3cdd3da15cdd110bb85f13924de098ba51 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent96efb21e8865e8f43192979991fdccf08f1a6da4 (diff)
downloadllvm-8d69e953b5a894c215b0cff7c6b0687b2b492318.zip
llvm-8d69e953b5a894c215b0cff7c6b0687b2b492318.tar.gz
llvm-8d69e953b5a894c215b0cff7c6b0687b2b492318.tar.bz2
[RISCV] Add combine for shadd family of instructions. (#130829)
For example for the following situation: %6:gpr = SLLI %2:gpr, 2 %7:gpr = ADDI killed %6:gpr, 24 %8:gpr = ADD %0:gpr, %7:gpr If we swap the two add instrucions we can merge the shift and add. The final code will look something like this: %7 = SH2ADD %0, %2 %8 = ADDI %7, 24
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions