Imported Upstream version 5.18.0.207

Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-11-17 08:23:10 +00:00
parent 8e12397d70
commit eb85e2fc17
28480 changed files with 72 additions and 3866936 deletions

View File

@ -1,24 +0,0 @@
; RUN: opt < %s -instcombine -S > %t
; RUN: grep "xor" %t
; RUN: grep "and" %t
; RUN: not grep "div" %t
define i1 @foo1(i1 %a, i1 %b) {
%A = sub i1 %a, %b
ret i1 %A
}
define i1 @foo2(i1 %a, i1 %b) {
%A = mul i1 %a, %b
ret i1 %A
}
define i1 @foo3(i1 %a, i1 %b) {
%A = udiv i1 %a, %b
ret i1 %A
}
define i1 @foo4(i1 %a, i1 %b) {
%A = sdiv i1 %a, %b
ret i1 %A
}