[llvm] [PowerPC] handle toc-data in load selection of fast-isel (PR #91916)
Zaara Syeda via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 11:35:25 PDT 2024
================
@@ -11,8 +11,7 @@ define signext i32 @foo() #1 {
; SMALL-LABEL: foo:
; SMALL: # %bb.0: # %entry
; SMALL-NEXT: la 3, a[TD](2)
-; SMALL-NEXT: lwz 3, 0(3)
-; SMALL-NEXT: extsw 3, 3
+; SMALL-NEXT: lwa 3, 0(3)
----------------
syzaara wrote:
Can we add a test case for large code model as well?
https://github.com/llvm/llvm-project/pull/91916
More information about the llvm-commits
mailing list