aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-06-04 15:55:00 +0000
committerHans Wennborg <hans@hanshq.net>2015-06-04 15:55:00 +0000
commitd92291568586e13b1484cd720f6faf939f0b2623 (patch)
tree99b8475e94455adc5fc6c8a9a16b2fa310101af3 /llvm/lib/Support/SourceMgr.cpp
parentc0aeadf92d8f8354f6e6f8f9a164f7bfbb106247 (diff)
downloadllvm-d92291568586e13b1484cd720f6faf939f0b2623.zip
llvm-d92291568586e13b1484cd720f6faf939f0b2623.tar.gz
llvm-d92291568586e13b1484cd720f6faf939f0b2623.tar.bz2
Switch lowering: fix assert in buildBitTests (PR23738)
When checking (High - Low + 1).sle(BitWidth), BitWidth would be truncated to the size of the left-hand side. In the case of this PR, the left-hand side was i4, so BitWidth=64 got truncated to 0 and the assert failed. llvm-svn: 239048
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions