| 1 |
; RUN: llc -mcpu=pwr7 < %s -verify-machineinstrs | FileCheck %s |
| 2 |
target datalayout = "E-m:e-i64:64-n32:64" |
| 3 |
target triple = "powerpc64-unknown-linux-gnu" |
| 4 |
|
| 5 |
; Function Attrs: nounwind |
| 6 |
define void @Compute_Lateral() #0 { |
| 7 |
entry: |
| 8 |
br i1 undef, label %if.then, label %if.end |
| 9 |
|
| 10 |
if.then: ; preds = %entry |
| 11 |
unreachable |
| 12 |
|
| 13 |
if.end: ; preds = %entry |
| 14 |
%0 = select i1 undef, <2 x double> undef, <2 x double> zeroinitializer |
| 15 |
%1 = extractelement <2 x double> %0, i32 1 |
| 16 |
store double %1, ptr undef, align 8 |
| 17 |
ret void |
| 18 |
|
| 19 |
; CHECK-LABEL: @Compute_Lateral |
| 20 |
} |
| 21 |
|
| 22 |
attributes #0 = { nounwind } |
| 23 |
|