mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-27 02:51:23 -04:00
74479e8cb3
Also fix a typo while here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307921 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
368 B
LLVM
18 lines
368 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt -S -globalopt %s | FileCheck %s
|
|
|
|
@glob = external global i16, align 1
|
|
|
|
define void @beth() {
|
|
; CHECK-LABEL: @beth(
|
|
; CHECK-NEXT: entry:
|
|
; CHECK-NEXT: ret void
|
|
;
|
|
entry:
|
|
ret void
|
|
|
|
notreachable:
|
|
%patatino = select i1 undef, i16* @glob, i16* %patatino
|
|
br label %notreachable
|
|
}
|