[lld] 553284b - [lld-macho] Don't include absolute address value in expected test output

Jez Ng via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 17:54:42 PST 2020


Author: Jez Ng
Date: 2020-12-10T17:54:23-08:00
New Revision: 553284be2dded5b1d1106b380525e0b1e3b609cd

URL: https://github.com/llvm/llvm-project/commit/553284be2dded5b1d1106b380525e0b1e3b609cd
DIFF: https://github.com/llvm/llvm-project/commit/553284be2dded5b1d1106b380525e0b1e3b609cd.diff

LOG: [lld-macho] Don't include absolute address value in expected test output

Should fix the mattrs.ll failure introduced by rG29d3b0e47113.

Added: 
    

Modified: 
    lld/test/MachO/mattrs.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/mattrs.ll b/lld/test/MachO/mattrs.ll
index 66415013093b..8771f02e0c50 100644
--- a/lld/test/MachO/mattrs.ll
+++ b/lld/test/MachO/mattrs.ll
@@ -11,14 +11,14 @@
 
 ; FMA:      <_foo>:
 ; FMA-NEXT:	vrcpss	%xmm0, %xmm0, %xmm1
-; FMA-NEXT:	vfmsub213ss	7(%rip), %xmm1, %xmm0  # 2d4
+; FMA-NEXT:	vfmsub213ss	7(%rip), %xmm1, %xmm0
 ; FMA-NEXT:	vfnmadd132ss	%xmm1, %xmm1, %xmm0
 ; FMA-NEXT:	retq
 
 ; NO-FMA:      <_foo>:
 ; NO-FMA-NEXT: vrcpss	%xmm0, %xmm0, %xmm1
 ; NO-FMA-NEXT: vmulss	%xmm1, %xmm0, %xmm0
-; NO-FMA-NEXT: vmovss	16(%rip), %xmm2  # 2e0
+; NO-FMA-NEXT: vmovss	16(%rip), %xmm2
 ; NO-FMA-NEXT: vsubss	%xmm0, %xmm2, %xmm0
 ; NO-FMA-NEXT: vmulss	%xmm0, %xmm1, %xmm0
 ; NO-FMA-NEXT: vaddss	%xmm0, %xmm1, %xmm0


        


More information about the llvm-commits mailing list