[PATCH] D44971: [RISCV] Override fixupNeedsRelaxationAdvanced to avoid MC relaxation always promote to 32-bit form when -mrelax enabled
Shiva Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 27 22:38:47 PDT 2018
shiva0217 created this revision.
shiva0217 added reviewers: sameer.abuasal, asb, apazos.
Herald added subscribers: kito-cheng, niosHD, sabuasal, jordy.potman.lists, simoncook, johnrusso, rbar.
Override fixupNeedsRelaxationAdvanced to avoid RISCV MC Branch Relaxation always promote 16-bit branches to 32-bit form when RISCV linker relaxation enabled.
Repository:
rL LLVM
https://reviews.llvm.org/D44971
Files:
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
test/MC/RISCV/relocations.s
test/MC/RISCV/rv32-relaxation.s
test/MC/RISCV/rv64-relaxation.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44971.140041.patch
Type: text/x-patch
Size: 7713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/f1906317/attachment.bin>
More information about the llvm-commits
mailing list