mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	[X86] Add hasSideEffects = 0 to CALLpcrel16. This matches what is inferred from patterns for the 32-bit version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -188,10 +188,11 @@ let isCall = 1 in | ||||
|                            (outs), (ins i32imm_pcrel:$dst), | ||||
|                            "call{l}\t$dst", [], IIC_CALL_RI>, OpSize32, | ||||
|                       Requires<[Not64BitMode]>, Sched<[WriteJump]>; | ||||
|     def CALLpcrel16 : Ii16PCRel<0xE8, RawFrm, | ||||
|                            (outs), (ins i16imm_pcrel:$dst), | ||||
|                            "call{w}\t$dst", [], IIC_CALL_RI>, OpSize16, | ||||
|                       Sched<[WriteJump]>; | ||||
|     let hasSideEffects = 0 in | ||||
|       def CALLpcrel16 : Ii16PCRel<0xE8, RawFrm, | ||||
|                              (outs), (ins i16imm_pcrel:$dst), | ||||
|                              "call{w}\t$dst", [], IIC_CALL_RI>, OpSize16, | ||||
|                         Sched<[WriteJump]>; | ||||
|     def CALL16r     : I<0xFF, MRM2r, (outs), (ins GR16:$dst), | ||||
|                         "call{w}\t{*}$dst", [(X86call GR16:$dst)], IIC_CALL_RI>, | ||||
|                       OpSize16, Requires<[Not64BitMode]>, Sched<[WriteJump]>; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user