[llvm] [AArch64][GISel] Always fold G_SHL into addressing mode where possible, unless the subtarget has addr-lsl-slow-14 (PR #96603)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 00:30:13 PDT 2024


================
@@ -12,17 +12,16 @@ declare void @foo()
 define i16 @halfword(ptr %ctx, i32 %xor72) nounwind {
----------------
davemgreen wrote:

This test can be moved up a folder, if it's not just gisel. I would add the SDAG lines first too.

Can you remove the calls? It should still be possible to have different uses if it stores a different value.

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


More information about the llvm-commits mailing list