aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-13 03:46:30 +0000
committerDan Gohman <gohman@apple.com>2009-05-13 03:46:30 +0000
commit467c430316b7a5b6fa8069531ca8d603b1e1197f (patch)
tree73e12684b564e589056297e15ab434275d1e644e /lib/CodeGen/TwoAddressInstructionPass.cpp
parent7b9486ad4355a010d22e0737cee9cd7c7b747ece (diff)
Add three new helper routines, getNoopOrZeroExtend,
getNoopOrSignExtend, and getTruncateOrNoop. These are similar to getTruncateOrZeroExtend etc., except that they assert that the conversion is either not widening or narrowing, as appropriate. These will be used in some upcoming fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions