[PATCH] D16810: [mips] Make isel select the correct DEXT variant up front.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 09:13:20 PST 2016
dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.
Previously, it would always select DEXT and substitute any invalid matches
for DEXTU/DEXTM during MipsMCCodeEmitter::encodeInstruction(). This works
but causes problems when adding range checked immediates to IAS.
Now isel selects the correct variant up front.
http://reviews.llvm.org/D16810
Files:
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
lib/Target/Mips/MicroMips64r6InstrInfo.td
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/fcopysign-f32-f64.ll
test/CodeGen/Mips/fcopysign.ll
test/CodeGen/Mips/mips64extins.ll
test/MC/Mips/micromips64r6/invalid.s
test/MC/Mips/mips64r2/invalid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16810.46663.patch
Type: text/x-patch
Size: 11935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160202/168db843/attachment.bin>
More information about the llvm-commits
mailing list