mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
1500515406
string generated by the CBE. This is no longer an XFAIL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34327 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
950 B
LLVM
29 lines
950 B
LLVM
; For PR1099
|
|
; RUN: llvm-as < %s | llc -march=c | \
|
|
; RUN: grep 'return ((((ltmp_2_2 == ltmp_1_2)) ? (1) : (0)))'
|
|
|
|
target datalayout = "e-p:32:32"
|
|
target triple = "i686-apple-darwin8"
|
|
%struct.Connector = type { i16, i16, i8, i8, %struct.Connector*, i8* }
|
|
|
|
implementation ; Functions:
|
|
|
|
define i1 @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
|
|
newFuncRoot:
|
|
br label %entry.ce
|
|
|
|
cond_next.exitStub: ; preds = %entry.ce
|
|
ret i1 true
|
|
|
|
entry.return_crit_edge.exitStub: ; preds = %entry.ce
|
|
ret i1 false
|
|
|
|
entry.ce: ; preds = %newFuncRoot
|
|
%tmp1 = getelementptr %struct.Connector* %a, i32 0, i32 0 ; <i16*> [#uses=1]
|
|
%tmp2 = load i16* %tmp1 ; <i16> [#uses=1]
|
|
%tmp3 = icmp eq i16 %tmp2, %b.0.0.val ; <i1> [#uses=1]
|
|
br i1 %tmp3, label %cond_next.exitStub, label %entry.return_crit_edge.exitStub
|
|
}
|
|
|
|
|