diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2017-07-02 16:05:11 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2017-07-02 16:05:11 +0000 |
| commit | b51e072d358b8936034e22327cdf20105f7a4654 (patch) | |
| tree | ed2c98c5760714e5036e6c488600e9d14d01ccc4 /llvm/test/Feature/weak_constant.ll | |
| parent | 7d263c1a2782ade7e2465e4dbb988f0a864827cb (diff) | |
| download | bcm5719-llvm-b51e072d358b8936034e22327cdf20105f7a4654.tar.gz bcm5719-llvm-b51e072d358b8936034e22327cdf20105f7a4654.zip | |
[InstCombine] fix crash when folding cmp+bswap vector
We assumed the constant was a scalar when creating the replacement operand.
Also, improve tests for this fold and move the tests for this fold to their own file.
I'll move the related and missing tests to this file as a follow-up.
llvm-svn: 306985
Diffstat (limited to 'llvm/test/Feature/weak_constant.ll')
0 files changed, 0 insertions, 0 deletions

