brintos

brintos / llvm-project-archived public Read only

0
0
Text · 632 B · 2db2aa5 Raw
22 lines · plain
1; RUN: llc -mcpu=generic -O1 -relocation-model=pic < %s | FileCheck %s2target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"3target triple = "i686-apple-darwin"4 5define i64 @test_lshr() {6entry:7; CHECK-NOT: movl $-1, 16(%esp)8; CHECK-NOT: movl  $-1, %eax9  %retval = alloca i6410  %op1 = alloca i6411  %op2 = alloca i6412  store i64 -6687208052682386272, ptr %op113  store i64 7106745059734980448, ptr %op214  %tmp1 = load i64, ptr %op115  %tmp2 = load i64, ptr %op216  %tmp = xor i64 %tmp2, 710674505973498044817  %tmp3 = lshr i64 %tmp1, %tmp18  store i64 %tmp3, ptr %retval19  %tmp4 = load i64, ptr %retval20  ret i64 %tmp421}22