diff options
| author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2017-01-09 12:03:50 +0000 |
|---|---|---|
| committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2017-01-09 12:03:50 +0000 |
| commit | b14afd452ddd9bb479e8d69199f7084ce0a17727 (patch) | |
| tree | 3a26dab228d14fc142757179e172b3ae3a41ba08 /llvm/test/CodeGen/X86/pointer-vector.ll | |
| parent | a573fe25e6be0e64d25c51d302afd522b74ede9c (diff) | |
| download | bcm5719-llvm-b14afd452ddd9bb479e8d69199f7084ce0a17727.tar.gz bcm5719-llvm-b14afd452ddd9bb479e8d69199f7084ce0a17727.zip | |
[SelectionDAG] Fix in legalization of UMAX/SMAX/UMIN/SMIN. Solves PR31486.
Summary:
Originally
i64 = umax t8, Constant:i64<4>
was expanded into
i32,i32 = umax Constant:i32<0>, Constant:i32<0>
i32,i32 = umax t7, Constant:i32<4>
Now instead the two produced umax:es return i32 instead of i32, i32.
Thanks to Jan Vesely for help with the test case.
Patch by mikael.holmen at ericsson.com
Reviewers: bogner, jvesely, tstellarAMD, arsenm
Subscribers: test, wdng, RKSimon, arsenm, nhaehnle, llvm-commits
Differential Revision: https://reviews.llvm.org/D28135
llvm-svn: 291441
Diffstat (limited to 'llvm/test/CodeGen/X86/pointer-vector.ll')
0 files changed, 0 insertions, 0 deletions

