[llvm] [GISel][RISCV] Legalize G_CONSTANT_FOLD_BARRIER (PR #89960)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 20:00:07 PDT 2024
================
@@ -227,7 +227,7 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
ConstantActions.widenScalarToNextPow2(0).clampScalar(0, s32, sXLen);
// TODO: transform illegal vector types into legal vector type
- getActionDefinitionsBuilder(G_IMPLICIT_DEF)
+ getActionDefinitionsBuilder({G_IMPLICIT_DEF, G_CONSTANT_FOLD_BARRIER})
----------------
dtcxzyw wrote:
Done.
https://github.com/llvm/llvm-project/pull/89960
More information about the llvm-commits
mailing list