[llvm] [X86] Respect blockaddress offsets when performing X86 LEA fixups (PR #71641)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 05:31:28 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 {
----------------
phoebewang wrote:
I mean you have said the MIR is not generated by this IR. And I cannot see the problem when compile the IR into assembly. So I assume you have a relative complete test that can show the problem from IR or C level.
https://github.com/llvm/llvm-project/pull/71641
More information about the llvm-commits
mailing list