diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-18 18:18:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-18 18:18:57 +0000 |
commit | c7897e26a45b06fc8c739443fb75c9c6bb908ec5 (patch) | |
tree | b444fa8177b6a6eaa3c71d0885bf7704ef293505 /lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 15ffc0826782bb498f4ea2722aa15f28cffd04ec (diff) |
Add assertions to CastInst::getCastOpcode to catch attempted conversions
between integers and pointers when the source type is marked signed,
since inttoptr and ptrtoint always use zero-extension when the destination
is larger than the source.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions