1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[ARC] Fix CodeGen/ARC/brcc.ll

This commit is contained in:
Fangrui Song 2020-08-15 19:33:35 -07:00
parent 90bd74632c
commit 370d391c6a

View File

@ -1,7 +1,9 @@
; RUN: llc -march=arc < %s | FileCheck %s
; CHECK-LABEL: brcc1
; CHECK: brne %r0, %r1
; CHECK-LABEL: brcc1:
; CHECK: breq %r0, %r1, @.LBB0_1
; CHECK: .LBB0_1:
; CHECK-NEXT: add %r0, %r0, 4
define i32 @brcc1(i32 %a, i32 %b) nounwind {
entry:
%wb = icmp eq i32 %a, %b