diff options
| author | Jim Grosbach <grosbach@apple.com> | 2014-07-23 20:41:38 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2014-07-23 20:41:38 +0000 |
| commit | 8f6f0858ec4db02dd115fc52b0c04d4c68cb9434 (patch) | |
| tree | dd64c94b92182ddee64b8c5406f6aaf306a57efe /llvm/lib/Analysis/Trace.cpp | |
| parent | 19dd3088c088ecd1bddfcaab46a95d8ac21accc2 (diff) | |
| download | bcm5719-llvm-8f6f0858ec4db02dd115fc52b0c04d4c68cb9434.tar.gz bcm5719-llvm-8f6f0858ec4db02dd115fc52b0c04d4c68cb9434.zip | |
X86: restrict combine to when type sizes are safe.
The folding of unary operations through a vector compare and mask operation
is only safe if the unary operation result is of the same size as its input.
For example, it's not safe for [su]itofp from v4i32 to v4f64.
llvm-svn: 213799
Diffstat (limited to 'llvm/lib/Analysis/Trace.cpp')
0 files changed, 0 insertions, 0 deletions

