Skip to content
Commit 247ef955 authored by Chris Lattner's avatar Chris Lattner
Browse files

in the truncation case, make sure to propagate the sign correctly, this

fixes an assertion on:
void f (int z) { switch (z) { case ~0ULL: case -1: return; } }

testcase from Neil.

llvm-svn: 41343
parent 8ddb23a6
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