mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-24 23:29:41 +00:00
New predicate simplifier!
Please do not enable, there is still some known miscompile problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33066 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25919cb780
commit
419c6f5ac8
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
|||||||
|
; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -disable-output
|
||||||
|
|
||||||
|
void %ercMarkCurrMBConcealed(int %comp) {
|
||||||
|
entry:
|
||||||
|
%tmp5 = icmp slt int %comp, 0 ; <bool> [#uses=2]
|
||||||
|
%comp_addr.0 = select bool %tmp5, int 0, int %comp ; <int> [#uses=1]
|
||||||
|
switch int %comp_addr.0, label %return [
|
||||||
|
int 0, label %bb
|
||||||
|
]
|
||||||
|
|
||||||
|
bb: ; preds = %entry
|
||||||
|
br bool %tmp5, label %bb87.bb97_crit_edge.critedge, label %return
|
||||||
|
|
||||||
|
bb87.bb97_crit_edge.critedge: ; preds = %bb
|
||||||
|
ret void
|
||||||
|
|
||||||
|
return: ; preds = %bb, %entry
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user