aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-11-13 01:44:51 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-11-13 01:44:51 +0000
commitf5485bb008b38c540a0dc6d37ce39c034bdcc421 (patch)
tree919f6e5a00f02dc70d3f3853fd9f9b95f41cbf52 /llvm/lib/Object/COFFObjectFile.cpp
parentd72ffc661d9bae61b92c6436193ffdfea1212137 (diff)
downloadllvm-f5485bb008b38c540a0dc6d37ce39c034bdcc421.zip
llvm-f5485bb008b38c540a0dc6d37ce39c034bdcc421.tar.gz
llvm-f5485bb008b38c540a0dc6d37ce39c034bdcc421.tar.bz2
[CodeGenPrepare] Handle zero extensions in the TypePromotionHelper.
Prior to this patch the TypePromotionHelper was promoting only sign extensions. Supporting zero extensions changes: - How constants are extended. - How sign extensions, zero extensions, and truncate are composed together. - How the type of the extended operation is recorded. Now we need to know the kind of the extension as well as its type. Each change is fairly small, unlike the diff. Most of the diff are comments/variable renaming to say "extension" instead of "sign extension". The performance improvements on the test suite are within the noise. Related to <rdar://problem/18310086>. llvm-svn: 221851
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions