commit | b2137ae3f1bd0aadb0552189af2824a324ffaa69 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Aug 23 22:08:35 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Aug 23 22:08:35 2007 +0000 |
tree | 7a6d7b684f906eb949ed72a09d63288666c53570 | |
parent | bc6079684c639f2333a17cf5bd75602358e1cbb5 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41343 91177308-0d34-0410-b5e6-96231b3b80d8