Skip to content
Commit debce55a authored by Jingyue Wu's avatar Jingyue Wu
Browse files

[SLSR] Fix crash on handling 128-bit integers.

    
ConstantInt::getSExtValue may fail on >64-bit integers. Add checks to call
getSExtValue only on narrow integers.

As a minor aside, simplify slsr-gep.ll to remove unnecessary load instructions.

llvm-svn: 274982
parent 6170b4be
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