[llvm] [SelectionDAG] Use unaligned store to legalize `EXTRACT_VECTOR_ELT` type (PR #98176)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 18:42:15 PDT 2024
================
@@ -3534,11 +3550,9 @@ SDValue DAGTypeLegalizer::SplitVecOp_EXTRACT_VECTOR_ELT(SDNode *N) {
Align SmallestAlign = DAG.getReducedAlign(VecVT, /*UseABI=*/false);
----------------
phoebewang wrote:
Can we compare with `DAG.getSubtarget().getFrameLowering()->getStackAlign()` and use the smaller one here?
https://github.com/llvm/llvm-project/pull/98176
More information about the llvm-commits
mailing list