Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@ -1,34 +0,0 @@
; NOTE: Assertions have been autogenerated by update_test_checks.py
; RUN: opt < %s -instsimplify -S | FileCheck %s
define i1 @add(i1 %x) {
; CHECK-LABEL: @add(
; CHECK: ret i1 false
;
%z = add i1 %x, %x
ret i1 %z
}
define i1 @sub(i1 %x) {
; CHECK-LABEL: @sub(
; CHECK: ret i1 %x
;
%z = sub i1 false, %x
ret i1 %z
}
define i1 @mul(i1 %x) {
; CHECK-LABEL: @mul(
; CHECK: ret i1 %x
;
%z = mul i1 %x, %x
ret i1 %z
}
define i1 @ne(i1 %x) {
; CHECK-LABEL: @ne(
; CHECK: ret i1 %x
;
%z = icmp ne i1 %x, 0
ret i1 %z
}