summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-12 07:02:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-12 07:02:50 +0000
commit99ee78ef637d715e6a593911b366061210869e14 (patch)
tree076f235b41b3a91fd23f84ee3e6b5d0bb24a26df /llvm/lib/Bitcode/Reader/BitcodeReader.h
parent944b1c76ab119357559fb644bb024ac40931d8a2 (diff)
downloadbcm5719-llvm-99ee78ef637d715e6a593911b366061210869e14.tar.gz
bcm5719-llvm-99ee78ef637d715e6a593911b366061210869e14.zip
Clean up my own mess.
X86 lowering normalize vector 0 to v4i32. However DAGCombine can fold (sub x, x) -> 0 after legalization. It can create a zero vector of a type that's not expected (e.g. v8i16). We don't want to disable the optimization since leaving a (sub x, x) is really bad. Add isel patterns for other types of vector 0 to ensure correctness. It's highly unlikely to happen other than in bugpoint reduced test cases. llvm-svn: 48279
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud