Closed Quuxplusone closed 4 years ago
Bugzilla Link | PR47448 |
Status | RESOLVED FIXED |
Importance | P enhancement |
Reported by | Tom Hender (ToHe_EMA@gmx.de) |
Reported on | 2020-09-07 06:00:47 -0700 |
Last modified on | 2020-09-07 08:20:54 -0700 |
Version | trunk |
Hardware | PC All |
CC | craig.topper@gmail.com, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com |
Fixed by commit(s) | rG9de0a3da6a76 |
Attachments | |
Blocks | |
Blocked by | |
See also |
define <2 x i64> @_Z10BadCompares(i16 signext %0) {
%2 = and i16 %0, 7
%3 = insertelement <8 x i16> undef, i16 %2, i32 0
%4 = shufflevector <8 x i16> %3, <8 x i16> undef, <8 x i32> zeroinitializer
%5 = icmp ugt <8 x i16> %4, <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>
%6 = sext <8 x i1> %5 to <8 x i16>
%7 = bitcast <8 x i16> %6 to <2 x i64>
ret <2 x i64> %7
}