Skip to content

Commit 18da0bf

Browse files
committed
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.5 [skip ci]
1 parent 0be38cc commit 18da0bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,6 +3022,7 @@ LegalizerHelper::widenScalar(MachineInstr &MI, unsigned TypeIdx, LLT WideTy) {
30223022
return UnableToLegalize;
30233023

30243024
LLT Ty = MRI.getType(MI.getOperand(0).getReg());
3025+
assert(!Ty.isPointerOrPointerVector() && "Can't widen type");
30253026
if (!Ty.isScalar()) {
30263027
// We need to widen the vector element type.
30273028
Observer.changingInstr(MI);

0 commit comments

Comments
 (0)