diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-23 22:08:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-23 22:08:35 +0000 |
commit | b2137ae3f1bd0aadb0552189af2824a324ffaa69 (patch) | |
tree | 7a6d7b684f906eb949ed72a09d63288666c53570 /CodeGen/CodeGenFunction.h | |
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
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions