[llvm] [PowerPC] handle toc-data in load selection of fast-isel (PR #91916)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 18:19:00 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)
----------------
chenzheng1030 wrote:

Updated.

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


More information about the llvm-commits mailing list