We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af81ea commit dfd2858Copy full SHA for dfd2858
llvm/test/Transforms/InstCombine/and.ll
@@ -1098,6 +1098,8 @@ define <2 x i8> @lowmask_add_2_splat(<2 x i8> %x, <2 x i8>* %p) {
1098
ret <2 x i8> %r
1099
}
1100
1101
+; Negative test - mask overlaps low bit of add
1102
+
1103
define i8 @not_lowmask_add(i8 %x) {
1104
; CHECK-LABEL: @not_lowmask_add(
1105
; CHECK-NEXT: [[A:%.*]] = add i8 [[X:%.*]], -64
@@ -1111,6 +1113,8 @@ define i8 @not_lowmask_add(i8 %x) {
1111
1113
ret i8 %r
1112
1114
1115
1116
1117
1118
define i8 @not_lowmask_add2(i8 %x) {
1119
; CHECK-LABEL: @not_lowmask_add2(
1120
; CHECK-NEXT: [[A:%.*]] = add i8 [[X:%.*]], -96
0 commit comments