[PATCH] D66210: [RISCV] Enable the machine outliner for RISC-V
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 13:35:07 PDT 2019
lewis-revill updated this revision to Diff 227525.
lewis-revill added a comment.
Herald added a subscriber: sameer.abuasal.
Rebased. Added special case for size of `jr t0` with compression enabled. Fixed failure in GCC testsuite.
The failure was caused by machine operands referencing constant pool indexes being outlined, even though these indexes are materialized as local labels. This was fixed by simply checking `MO.isCPI()`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66210/new/
https://reviews.llvm.org/D66210
Files:
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/machineoutliner.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66210.227525.patch
Type: text/x-patch
Size: 12111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191101/08c80510/attachment-0001.bin>
More information about the llvm-commits
mailing list