[llvm] [X86] Fix more medium code model addressing modes (PR #75641)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 10:14:11 PST 2023
================
@@ -402,14 +410,12 @@ define dso_local i32 @load_forced_small_data() #0 {
;
; MEDIUM-SMALL-DATA-PIC-LABEL: load_forced_small_data:
; MEDIUM-SMALL-DATA-PIC: # %bb.0:
-; MEDIUM-SMALL-DATA-PIC-NEXT: leaq forced_small_data(%rip), %rax
-; MEDIUM-SMALL-DATA-PIC-NEXT: movl 8(%rax), %eax
+; MEDIUM-SMALL-DATA-PIC-NEXT: movl forced_small_data+8(%rip), %eax
----------------
rnk wrote:
These are all nice improvements
https://github.com/llvm/llvm-project/pull/75641
More information about the llvm-commits
mailing list