diff options
| author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2014-03-07 23:25:55 +0000 |
|---|---|---|
| committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2014-03-07 23:25:55 +0000 |
| commit | aa5b17b359fca123952666cd3cbff2c228042114 (patch) | |
| tree | e0a959db7c2dce6148deb5b5e45de7322473fcdb /lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | bd86fbe0d721aaa949d9a7be25fa7ae4d89972b7 (diff) | |
| download | llvm-aa5b17b359fca123952666cd3cbff2c228042114.tar.gz llvm-aa5b17b359fca123952666cd3cbff2c228042114.tar.bz2 llvm-aa5b17b359fca123952666cd3cbff2c228042114.tar.xz | |
ISel: Make VSELECT selection terminate in cases where the condition type has to
be split and the result type widened.
When the condition of a vselect has to be split it makes no sense widening the
vselect and thereby widening the condition. We end up in an endless loop of
widening (vselect result type) and splitting (condition mask type) doing this.
Instead, split both the condition and the vselect and widen the result.
I ran this over the test suite with i686 and mattr=+sse and saw no regressions.
Fixes PR18036.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
