Skip to content
Commit 91287057 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] convertToThreeAddress, make sure second operand of SUB32ri is really an...

[X86] convertToThreeAddress, make sure second operand of SUB32ri is really an immediate before calling getImm().

It might be a symbol instead. We can't fold those since we can't
negate them.

Similar for other SUB with immediates.

Fixes PR43529.

llvm-svn: 373397
parent f7133b79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment