[llvm] [X86] Respect blockaddress offsets when performing X86 LEA fixups (PR #71641)

Maurice Heumann via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 05:25:06 PST 2023


================
@@ -0,0 +1,30 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
+# RUN: llc -mtriple=i386-unknown-linux-gnu -mattr=slow-3ops-lea -run-pass x86-fixup-LEAs -o -  %s | FileCheck %s
+
+--- |
+  define i32 @square(i32 %0) local_unnamed_addr {
----------------
momo5502 wrote:

Thank you for approving :D

However, what do you mean with complete test case in the issue? 
Is my test case not complete enough or do you mean that I should have attached the testcase to the issue? :D

https://github.com/llvm/llvm-project/pull/71641


More information about the llvm-commits mailing list