[llvm] r320276 - [X86] Tag PIC setup instruction as jump scheduler class
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 9 16:40:37 PST 2017
Author: rksimon
Date: Sat Dec 9 16:40:37 2017
New Revision: 320276
URL: http://llvm.org/viewvc/llvm-project?rev=320276&view=rev
Log:
[X86] Tag PIC setup instruction as jump scheduler class
Modified:
llvm/trunk/lib/Target/X86/X86InstrCompiler.td
Modified: llvm/trunk/lib/Target/X86/X86InstrCompiler.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrCompiler.td?rev=320276&r1=320275&r2=320276&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrCompiler.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrCompiler.td Sat Dec 9 16:40:37 2017
@@ -32,9 +32,10 @@ def GetLo8XForm : SDNodeXForm<imm, [{
// PIC base construction. This expands to code that looks like this:
// call $next_inst
// popl %destreg"
-let hasSideEffects = 0, isNotDuplicable = 1, Uses = [ESP, SSP] in
+let hasSideEffects = 0, isNotDuplicable = 1, Uses = [ESP, SSP],
+ SchedRW = [WriteJump] in
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins i32imm:$label),
- "", []>;
+ "", [], IIC_CALL_RI>;
// ADJCALLSTACKDOWN/UP implicitly use/def ESP because they may be expanded into
More information about the llvm-commits
mailing list