brintos

brintos / llvm-project-archived public Read only

0
0
Text · 645 B · 35b2f43 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s3; FIXME: This should not load or store the top part of *P.4 5define void @test(ptr %P) nounwind  {6; CHECK-LABEL: test:7; CHECK:       # %bb.0:8; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax9; CHECK-NEXT:    movl (%eax), %ecx10; CHECK-NEXT:    xorl $1, %ecx11; CHECK-NEXT:    orl $2, %ecx12; CHECK-NEXT:    movl %ecx, (%eax)13; CHECK-NEXT:    retl14        %tmp1 = load i64, ptr %P, align 815        %tmp2 = xor i64 %tmp1, 116        %tmp3 = or i64 %tmp2, 217        store i64 %tmp3, ptr %P, align 818        ret void19}20 21