summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-04 23:09:49 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-04 23:09:49 +0000
commita4e07270bccb3cb6774af975300628e072bf03f1 (patch)
treed75fe8ff05cd3c61aeaae9e4e3d5469dc79da1fe /docs
parenta54c8ea8cfcba3682afb53301b93ecc59fc9897a (diff)
downloadllvm-a4e07270bccb3cb6774af975300628e072bf03f1.tar.gz
llvm-a4e07270bccb3cb6774af975300628e072bf03f1.tar.bz2
llvm-a4e07270bccb3cb6774af975300628e072bf03f1.tar.xz
When materializing an i32, SExt vs ZExt doesn't matter when we're trying to fit
in a 16-bit immediate. However, for the shorter non-legal types (i.e., i1, i8, i16) we should not sign-extend. This prevents us from materializing things such as 'true' (i.e., i1 1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions