; NOTE: Assertions have been autogenerated by utils/update_test_checks.py | |
; RUN: opt -S < %s | FileCheck %s | |
; RUN: llvm-as < %s | llvm-dis | FileCheck %s | |
define void @dead_phi() { | |
; CHECK-LABEL: @dead_phi( | |
; CHECK-NEXT: entry: | |
; CHECK-NEXT: ret void | |
; CHECK: return: | |
; CHECK-NEXT: [[R:%.*]] = phi i32 | |
; CHECK-NEXT: ret void | |
; | |
entry: | |
ret void | |
return: | |
%r = phi i32 | |
ret void | |
} |