commit | 467c430316b7a5b6fa8069531ca8d603b1e1197f | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed May 13 03:46:30 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed May 13 03:46:30 2009 +0000 |
tree | 73e12684b564e589056297e15ab434275d1e644e | |
parent | 7b9486ad4355a010d22e0737cee9cd7c7b747ece [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