[PATCH] D145933: [X86] Add negative test for D145930

Nabeel Omer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 06:39:41 PDT 2023


n-omer added inline comments.


================
Comment at: llvm/test/CodeGen/X86/atomic-rm-bit-test-64.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -show-mc-encoding < %s | FileCheck %s
 
----------------
pengfei wrote:
> Why adding it? Doesn't look necessary.
I tried removing it but that eliminates the `# fixup A - offset: 5, value: a-5, kind: reloc_riprel_4byte` line which demonstrates the issue from my test case.


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

https://reviews.llvm.org/D145933



More information about the llvm-commits mailing list