[llvm] r319197 - [X86][X87] Tag FP_TO_INT_IN_MEM pseudos with hasNoSchedulingInfo
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 10:10:30 PST 2017
Author: rksimon
Date: Tue Nov 28 10:10:29 2017
New Revision: 319197
URL: http://llvm.org/viewvc/llvm-project?rev=319197&view=rev
Log:
[X86][X87] Tag FP_TO_INT_IN_MEM pseudos with hasNoSchedulingInfo
We don't need scheduling info for pseudos
Modified:
llvm/trunk/lib/Target/X86/X86InstrFPStack.td
Modified: llvm/trunk/lib/Target/X86/X86InstrFPStack.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrFPStack.td?rev=319197&r1=319196&r2=319197&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrFPStack.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrFPStack.td Tue Nov 28 10:10:29 2017
@@ -73,8 +73,8 @@ def fpimmneg1 : FPImmLeaf<fAny, [{
return Imm.isExactlyValue(-1.0);
}]>;
-// Some 'special' instructions
-let usesCustomInserter = 1 in { // Expanded after instruction selection.
+// Some 'special' instructions - expanded after instruction selection.
+let usesCustomInserter = 1, hasNoSchedulingInfo = 1 in {
def FP32_TO_INT16_IN_MEM : PseudoI<(outs), (ins i16mem:$dst, RFP32:$src),
[(X86fp_to_i16mem RFP32:$src, addr:$dst)]>;
def FP32_TO_INT32_IN_MEM : PseudoI<(outs), (ins i32mem:$dst, RFP32:$src),
More information about the llvm-commits
mailing list