diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-12-16 23:41:59 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-12-16 23:41:59 +0000 |
commit | 224cb82a39851c9d9f34c13c469c78e14ca4d8e4 (patch) | |
tree | b17dbeaa0edb70318cf6c6a610df4f931303d7e9 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5e09c8c32cb61ef3633afa7ecfc9609b5b97c779 (diff) | |
download | llvm-224cb82a39851c9d9f34c13c469c78e14ca4d8e4.zip llvm-224cb82a39851c9d9f34c13c469c78e14ca4d8e4.tar.gz llvm-224cb82a39851c9d9f34c13c469c78e14ca4d8e4.tar.bz2 |
SelectionDAG switch lowering: use 'unsigned' to count destination popularity
SwitchInst::getNumCases() returns unsinged, so using uint64_t to count cases
seems unnecessary.
Also fix a missing CHECK in the test case.
llvm-svn: 224393
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions