[llvm] [AArch64] Replace AND with LSL#2 for LDR target (#34101) (PR #89531)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 15:13:27 PDT 2024


================
@@ -563,6 +563,7 @@ namespace {
     SDValue visitFMULForFMADistributiveCombine(SDNode *N);
 
     SDValue XformToShuffleWithZero(SDNode *N);
+    bool isCanBeLoadedWithLsl(SDNode *N);
----------------
justinfargnoli wrote:

Why does this function name start with `is`? Assuming I'm not missing something, I think `canBeLoadedWithLsl()` would make more sense.

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


More information about the llvm-commits mailing list