ret i1 %b
}
-define i1 @test8(i32 %x){
+define i1 @test8(i32 %x) {
; CHECK-LABEL: @test8(
; CHECK-NEXT: ret i1 false
;
ret i1 %b
}
-define i1 @test9(i32 %x) {
+define i1 @test9(i32 %x) {
; CHECK-LABEL: @test9(
; CHECK-NEXT: [[B:%.*]] = icmp ugt i32 %x, 1
; CHECK-NEXT: ret i1 [[B]]
ret i1 %b
}
-define i1 @test10(i32 %x){
+define i1 @test10(i32 %x) {
; CHECK-LABEL: @test10(
; CHECK-NEXT: [[B:%.*]] = icmp ne i32 %x, -2147483648
; CHECK-NEXT: ret i1 [[B]]
}
; PR6481
-define i1 @test13(i8 %X) nounwind readnone {
+define i1 @test13(i8 %X) {
; CHECK-LABEL: @test13(
; CHECK-NEXT: ret i1 false
;
ret i1 %cmp
}
-define i1 @test14(i8 %X) nounwind readnone {
+define i1 @test14(i8 %X) {
; CHECK-LABEL: @test14(
; CHECK-NEXT: ret i1 false
;
ret i1 %cmp
}
-define i1 @test15() nounwind readnone {
+define i1 @test15() {
; CHECK-LABEL: @test15(
; CHECK-NEXT: ret i1 undef
;
ret i1 %cmp
}
-define i1 @test16() nounwind readnone {
+define i1 @test16() {
; CHECK-LABEL: @test16(
; CHECK-NEXT: ret i1 undef
;
ret i1 %cmp
}
-define i1 @test17(i32 %x) nounwind {
+define i1 @test17(i32 %x) {
; CHECK-LABEL: @test17(
; CHECK-NEXT: [[CMP:%.*]] = icmp ne i32 %x, 3
; CHECK-NEXT: ret i1 [[CMP]]
ret i1 %cmp
}
-define i1 @test17a(i32 %x) nounwind {
+define i1 @test17a(i32 %x) {
; CHECK-LABEL: @test17a(
; CHECK-NEXT: [[CMP:%.*]] = icmp ugt i32 %x, 2
; CHECK-NEXT: ret i1 [[CMP]]
ret i1 %cmp
}
-define i1 @test18(i32 %x) nounwind {
+define i1 @test18(i32 %x) {
; CHECK-LABEL: @test18(
; CHECK-NEXT: [[CMP:%.*]] = icmp ne i32 %x, 3
; CHECK-NEXT: ret i1 [[CMP]]
ret <2 x i1> %cmp
}
-define i1 @test20(i32 %x) nounwind {
+define i1 @test20(i32 %x) {
; CHECK-LABEL: @test20(
; CHECK-NEXT: [[CMP:%.*]] = icmp eq i32 %x, 3
; CHECK-NEXT: ret i1 [[CMP]]
ret i1 %cmp
}
-define i1 @test20a(i32 %x) nounwind {
+define i1 @test20a(i32 %x) {
; CHECK-LABEL: @test20a(
; CHECK-NEXT: [[CMP:%.*]] = icmp ult i32 %x, 3
; CHECK-NEXT: ret i1 [[CMP]]
ret i1 %C
}
-define i1 @test52(i32 %x1) nounwind {
+define i1 @test52(i32 %x1) {
; CHECK-LABEL: @test52(
; CHECK-NEXT: [[TMP1:%.*]] = and i32 %x1, 16711935
; CHECK-NEXT: [[TMP2:%.*]] = icmp eq i32 [[TMP1]], 4980863
}
; PR9838
-define i1 @test53(i32 %a, i32 %b) nounwind {
+define i1 @test53(i32 %a, i32 %b) {
; CHECK-LABEL: @test53(
; CHECK-NEXT: [[X:%.*]] = sdiv exact i32 %a, 30
; CHECK-NEXT: [[Y:%.*]] = sdiv i32 %b, 30
ret i1 %z
}
-define i1 @test54(i8 %a) nounwind {
+define i1 @test54(i8 %a) {
; CHECK-LABEL: @test54(
; CHECK-NEXT: [[AND:%.*]] = and i8 %a, -64
; CHECK-NEXT: [[RET:%.*]] = icmp eq i8 [[AND]], -128
ret i1 %tobool
}
-define void @test58() nounwind {
+define void @test58() {
; CHECK-LABEL: @test58(
-; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 36029346783166592) #1
+; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 36029346783166592)
; CHECK-NEXT: ret void
;
%cast = bitcast <1 x i64> <i64 36029346783166592> to i64
- %call = call i32 @test58_d( i64 %cast) nounwind
+ %call = call i32 @test58_d( i64 %cast)
ret void
}
declare i32 @test58_d(i64)
; CHECK-LABEL: @test59(
; CHECK-NEXT: [[GEP1:%.*]] = getelementptr inbounds i8, i8* %foo, i64 8
; CHECK-NEXT: [[USE:%.*]] = ptrtoint i8* [[GEP1]] to i64
-; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 [[USE]]) #1
+; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 [[USE]])
; CHECK-NEXT: ret i1 true
;
%bit = bitcast i8* %foo to i32*
%cast1 = bitcast i32* %gep1 to i8*
%cmp = icmp ult i8* %cast1, %gep2
%use = ptrtoint i8* %cast1 to i64
- %call = call i32 @test58_d(i64 %use) nounwind
+ %call = call i32 @test58_d(i64 %use)
ret i1 %cmp
}
; CHECK-NEXT: [[GEP1:%.*]] = getelementptr inbounds i8, i8 addrspace(1)* %foo, i16 8
; CHECK-NEXT: [[TMP1:%.*]] = ptrtoint i8 addrspace(1)* [[GEP1]] to i16
; CHECK-NEXT: [[USE:%.*]] = zext i16 [[TMP1]] to i64
-; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 [[USE]]) #1
+; CHECK-NEXT: [[CALL:%.*]] = call i32 @test58_d(i64 [[USE]])
; CHECK-NEXT: ret i1 true
;
%bit = bitcast i8 addrspace(1)* %foo to i32 addrspace(1)*
%cast1 = bitcast i32 addrspace(1)* %gep1 to i8 addrspace(1)*
%cmp = icmp ult i8 addrspace(1)* %cast1, %gep2
%use = ptrtoint i8 addrspace(1)* %cast1 to i64
- %call = call i32 @test58_d(i64 %use) nounwind
+ %call = call i32 @test58_d(i64 %use)
ret i1 %cmp
}
ret i1 %cmp
}
-define i1 @test63(i8 %a, i32 %b) nounwind {
+define i1 @test63(i8 %a, i32 %b) {
; CHECK-LABEL: @test63(
; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %b to i8
; CHECK-NEXT: [[C:%.*]] = icmp eq i8 [[TMP1]], %a
ret i1 %c
}
-define i1 @test64(i8 %a, i32 %b) nounwind {
+define i1 @test64(i8 %a, i32 %b) {
; CHECK-LABEL: @test64(
; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %b to i8
; CHECK-NEXT: [[C:%.*]] = icmp eq i8 [[TMP1]], %a
ret i1 %cmp
}
-define i1 @test67(i32 %x) nounwind uwtable {
+define i1 @test67(i32 %x) {
; CHECK-LABEL: @test67(
; CHECK-NEXT: [[AND:%.*]] = and i32 %x, 96
; CHECK-NEXT: [[CMP:%.*]] = icmp ne i32 [[AND]], 0
ret i1 %cmp
}
-define i1 @test68(i32 %x) nounwind uwtable {
+define i1 @test68(i32 %x) {
; CHECK-LABEL: @test68(
; CHECK-NEXT: [[AND:%.*]] = and i32 %x, 127
; CHECK-NEXT: [[CMP:%.*]] = icmp ugt i32 [[AND]], 30
}
; PR14708
-define i1 @test69(i32 %c) nounwind uwtable {
+define i1 @test69(i32 %c) {
; CHECK-LABEL: @test69(
; CHECK-NEXT: [[TMP1:%.*]] = or i32 %c, 32
; CHECK-NEXT: [[TMP2:%.*]] = icmp eq i32 [[TMP1]], 97
ret i1 %res
}
-define i1 @icmp_lshr_lshr_eq(i32 %a, i32 %b) nounwind {
+define i1 @icmp_lshr_lshr_eq(i32 %a, i32 %b) {
; CHECK-LABEL: @icmp_lshr_lshr_eq(
; CHECK-NEXT: [[Z_UNSHIFTED:%.*]] = xor i32 %a, %b
; CHECK-NEXT: [[Z:%.*]] = icmp ult i32 [[Z:%.*]].unshifted, 1073741824
ret i1 %z
}
-define i1 @icmp_ashr_ashr_ne(i32 %a, i32 %b) nounwind {
+define i1 @icmp_ashr_ashr_ne(i32 %a, i32 %b) {
; CHECK-LABEL: @icmp_ashr_ashr_ne(
; CHECK-NEXT: [[Z_UNSHIFTED:%.*]] = xor i32 %a, %b
; CHECK-NEXT: [[Z:%.*]] = icmp ugt i32 [[Z:%.*]].unshifted, 255