Commit e722d966 authored by Philip Reames's avatar Philip Reames Committed by Philip Reames
Browse files

[DAG] Avoid a crash when checking size of scalable type in visitANDLike

Fixes https://github.com/llvm/llvm-project/issues/80744.  This transform
doesn't handled vectors at all,  The fixed length ones pass the first
check, but would fail the constant operand checks which immediate follow.
This patch takes the simplest approach, and just guards the transform
for scalar integers.
parent 6b42625b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment