OSDN Git Service

Constant fold vector bitcasts of halves similarly to how floats and doubles are folde...
authorMichael Ilseman <milseman@apple.com>
Tue, 26 Feb 2013 22:51:07 +0000 (22:51 +0000)
committerMichael Ilseman <milseman@apple.com>
Tue, 26 Feb 2013 22:51:07 +0000 (22:51 +0000)
commit616025007abbb0fb53fe53ef2cac81907668c2f0
tree66562a080021ab5c45d487e991c1c3648d21f61c
parentebbb359dd6deb33ce37fe81d491c96d8c32a4509
Constant fold vector bitcasts of halves similarly to how floats and doubles are folded. Test case included.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176131 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/InstCombine/bitcast-vector-fold.ll