brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · b9a5cec Raw
19 lines · plain
1; RUN: llc < %s -fast-isel -mcpu=core2 -mtriple=x86_64-unknown-unknown -O1 | FileCheck %s2; See PR215573 4target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"5 6declare i64 @bar(i1)7 8define i64 @foo(ptr %arg) {9; CHECK-LABEL: foo:10top:11  %0 = load i8, ptr %arg12; CHECK: movzbl13  %1 = trunc i8 %0 to i114; CHECK: andb $1,15  %2 = call i64 @bar(i1 %1)16; CHECK: callq17  ret i64 %218}19