[PATCH] D103113: [lld-macho] Deduplicate fixed-width literals

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 13:35:31 PDT 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/mattrs.ll:14
 ; FMA-NEXT: vrcpss       %xmm0, %xmm0, %xmm1
-; FMA-NEXT: vfmsub213ss  7(%rip), %xmm1, %xmm0
+; FMA-NEXT: vfmsub213ss  [[#]](%rip), %xmm1, %xmm0
 ; FMA-NEXT: vfnmadd132ss %xmm1, %xmm1, %xmm0
----------------
the LLVM IR in this test generated literals, which got moved to different addresses in this diff. But this test doesn't actually care about the locations of the literals, so I've changed it accordingly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103113/new/

https://reviews.llvm.org/D103113



More information about the llvm-commits mailing list