mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[SimplifyCFG] update test comments; NFC
llvm-svn: 313090
This commit is contained in:
parent
e2412b087e
commit
682f950b23
@ -1,7 +1,8 @@
|
|||||||
; RUN: opt -simplifycfg -S < %s | FileCheck %s
|
; RUN: opt -simplifycfg -S < %s | FileCheck %s
|
||||||
|
|
||||||
; FIXME: Hoist the sdiv because it's safe and free.
|
; We could hoist the div/rem in these tests because it's safe to do so.
|
||||||
; PR31028 - https://bugs.llvm.org/show_bug.cgi?id=31028
|
; PR31028 - https://bugs.llvm.org/show_bug.cgi?id=31028
|
||||||
|
; ...but since there's a separate pass for that, don't bother.
|
||||||
|
|
||||||
define i32 @hoist_sdiv(i32 %a, i32 %b) {
|
define i32 @hoist_sdiv(i32 %a, i32 %b) {
|
||||||
; CHECK-LABEL: @hoist_sdiv(
|
; CHECK-LABEL: @hoist_sdiv(
|
||||||
@ -30,8 +31,6 @@ end:
|
|||||||
ret i32 %ret
|
ret i32 %ret
|
||||||
}
|
}
|
||||||
|
|
||||||
; FIXME: Hoist the udiv because it's safe and free.
|
|
||||||
|
|
||||||
define i64 @hoist_udiv(i64 %a, i64 %b) {
|
define i64 @hoist_udiv(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: @hoist_udiv(
|
; CHECK-LABEL: @hoist_udiv(
|
||||||
; CHECK-NEXT: entry:
|
; CHECK-NEXT: entry:
|
||||||
@ -59,8 +58,6 @@ end:
|
|||||||
ret i64 %ret
|
ret i64 %ret
|
||||||
}
|
}
|
||||||
|
|
||||||
; FIXME: Hoist the srem because it's safe and likely free.
|
|
||||||
|
|
||||||
define i16 @hoist_srem(i16 %a, i16 %b) {
|
define i16 @hoist_srem(i16 %a, i16 %b) {
|
||||||
; CHECK-LABEL: @hoist_srem(
|
; CHECK-LABEL: @hoist_srem(
|
||||||
; CHECK-NEXT: entry:
|
; CHECK-NEXT: entry:
|
||||||
@ -88,8 +85,6 @@ end:
|
|||||||
ret i16 %ret
|
ret i16 %ret
|
||||||
}
|
}
|
||||||
|
|
||||||
; FIXME: Hoist the urem because it's safe and likely free.
|
|
||||||
|
|
||||||
define i8 @hoist_urem(i8 %a, i8 %b) {
|
define i8 @hoist_urem(i8 %a, i8 %b) {
|
||||||
; CHECK-LABEL: @hoist_urem(
|
; CHECK-LABEL: @hoist_urem(
|
||||||
; CHECK-NEXT: entry:
|
; CHECK-NEXT: entry:
|
||||||
|
Loading…
Reference in New Issue
Block a user