[llvm] [AArch64][SDAG] Fix invalid index into STEP_VECTOR operand (PR #193236)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 03:08:52 PDT 2026
================
----------------
davemgreen wrote:
We would usually revit the node later. The constant folding _should_ happen before we visit this node, but that does not always happen in SDAG at the moment. I'm just talking about removing the `// Match: .. Index = step(const) << shift(const)` part. Do you have an example where the code is more optimal with this code? If not we can probably remove it.
https://github.com/llvm/llvm-project/pull/193236
More information about the llvm-commits
mailing list