[PATCH] D20284: [mips] Restrict the creation of compact branches
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 06:35:35 PDT 2016
sdardis created this revision.
sdardis added a reviewer: dsanders.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.
Herald added a reviewer: vkalintiris.
Herald added subscribers: sdardis, dsanders.
Restrict the creation of compact branches so that they meet the ISA encoding
requirements. Notably do not permit $zero to be used as a operand for compact
branches and ensure that some other branches fulfil the requirement that
rs != rt.
Fixup cases where $rs > $rt for bnec and beqc.
Repository:
rL LLVM
http://reviews.llvm.org/D20284
Files:
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
lib/Target/Mips/Mips32r6InstrFormats.td
lib/Target/Mips/MipsInstrInfo.cpp
test/CodeGen/Mips/compactbranches/no-beqzc-bnezc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20284.57343.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/98fac1de/attachment.bin>
More information about the llvm-commits
mailing list