[llvm] [GlobalIsel] Combine zext of trunc (episode II) (PR #108305)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 16:40:28 PDT 2024
================
@@ -333,8 +333,10 @@ MachineInstrBuilder CSEMIRBuilder::buildConstant(const DstOp &Res,
// For vectors, CSE the element only for now.
LLT Ty = Res.getLLTTy(*getMRI());
- if (Ty.isVector())
+ if (Ty.isFixedVector())
----------------
tschuett wrote:
Crash in combine-with-flags.mir. Blame me.
https://github.com/llvm/llvm-project/pull/108305
More information about the llvm-commits
mailing list