brintos

brintos / llvm-project-archived public Read only

0
0
Text · 488 B · ec4aa3e Raw
17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=i386-apple-darwin -mcpu=corei7 -o - < %s | FileCheck %s3 4define i32 @func(ptr %A) nounwind readnone {5; CHECK-LABEL: func:6; CHECK:       ## %bb.0: ## %entry7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax8; CHECK-NEXT:    roll $27, %eax9; CHECK-NEXT:    retl10entry:11  %tmp = ptrtoint ptr %A to i3212  %shr = lshr i32 %tmp, 513  %shl = shl i32 %tmp, 2714  %or = or i32 %shr, %shl15  ret i32 %or16}17