summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-27 20:39:34 +0000
committerDan Gohman <gohman@apple.com>2009-01-27 20:39:34 +0000
commitfb58faf29e10a4f798f661a317ed5f0992284842 (patch)
tree215efc63ed808aaaf10c541aa2a08d0b517e22b7 /llvm/lib/CodeGen/MachineFunction.cpp
parent570c357ded427b55c35ddfe4b5ff73e221ea1305 (diff)
downloadbcm5719-llvm-fb58faf29e10a4f798f661a317ed5f0992284842.tar.gz
bcm5719-llvm-fb58faf29e10a4f798f661a317ed5f0992284842.zip
Add an assertion to the form of SelectionDAG::getConstant that takes
a uint64_t to verify that the value is in range for the given type, to help catch accidental overflow. Fix a few places that relied on getConstant implicitly truncating the value. llvm-svn: 63128
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud