[lld] 0f4339a - lld test fix: don't check the precise hex emitted as a comment.
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 05:28:57 PDT 2022
Author: Tim Northover
Date: 2022-07-07T13:25:24+01:00
New Revision: 0f4339a835c0ccd43294054709090267454302fc
URL: https://github.com/llvm/llvm-project/commit/0f4339a835c0ccd43294054709090267454302fc
DIFF: https://github.com/llvm/llvm-project/commit/0f4339a835c0ccd43294054709090267454302fc.diff
LOG: lld test fix: don't check the precise hex emitted as a comment.
It can vary depending on the platform, so as with the NO-FMA test just check
for "0x".
Added:
Modified:
lld/test/MachO/lto-mattrs.ll
Removed:
################################################################################
diff --git a/lld/test/MachO/lto-mattrs.ll b/lld/test/MachO/lto-mattrs.ll
index 4852e24c9627..6ae98463168c 100644
--- a/lld/test/MachO/lto-mattrs.ll
+++ b/lld/test/MachO/lto-mattrs.ll
@@ -12,7 +12,7 @@
; FMA: <_foo>:
; FMA-NEXT: vrcpss %xmm0, %xmm0, %xmm1
; FMA-NEXT: vfmsub213ss [[#]](%rip), %xmm1, %xmm0 ## xmm0 = (xmm1 * xmm0) - mem
-; FMA-NEXT: ## 0x2f4
+; FMA-NEXT: ## 0x
; FMA-NEXT: vfnmadd132ss %xmm1, %xmm1, %xmm0
; FMA-NEXT: retq
More information about the llvm-commits
mailing list