summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2014-12-20 03:03:32 +0000
committerRichard Trieu <rtrieu@google.com>2014-12-20 03:03:32 +0000
commit2cb463ed080fe95c683dfe2212a6215a0c8b2803 (patch)
tree289a60dce013bdeb2d0a11fefe126487e638730c /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentd787e8dc9d74011f4d2fa70e5941aad3eeec0f53 (diff)
downloadbcm5719-llvm-2cb463ed080fe95c683dfe2212a6215a0c8b2803.tar.gz
bcm5719-llvm-2cb463ed080fe95c683dfe2212a6215a0c8b2803.zip
Fix a bunch of integer template argument problems in template type diffing.
Reverts most of the changes from r168005. Since template arguments have proper conversions now, no extending of integers is needed. Further, since the integers are the correct size now, use APSInt::operator== instead of APSInt::hasSameValue since operator== will check the size and signness match. Prior to one comparison of APSInt's, check that both are valid. Previous, one could be uninitialized. Also changed APInt to APSInt in GetInt. This occassionally produced a sign flip, which will now be caught by operator==. llvm-svn: 224668
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud