Files
llvm/test/CodeGen/X86/GlobalISel/br.ll
T
Igor Breger a3d2650741 [GlobalISel][X86] Fix G_TRUNC instruction selection.
Updated tests with -verify-machineinstrs flag.
It fixes 3 tests failed with machine verifier enabled and listed
in PR27481

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303502 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-21 11:13:56 +00:00

20 lines
509 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -O0 -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=X64
define void @uncondbr() {
; CHECK-LABEL: uncondbr:
; CHECK: # BB#1: # %entry
; CHECK-NEXT: jmp .LBB0_3
; CHECK-NEXT: .LBB0_2: # %end
; CHECK-NEXT: retq
; CHECK-NEXT: .LBB0_3: # %bb2
; CHECK-NEXT: jmp .LBB0_2
entry:
br label %bb2
end:
ret void
bb2:
br label %end
}