brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · 60d5967 Raw
15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 22; RUN: llc -mtriple=x86_64-linux -fast-isel -show-mc-encoding < %s | FileCheck %s3 4; pr228545define void @foo(ptr %s, i32 %x) {6; CHECK-LABEL: foo:7; CHECK:       # %bb.0:8; CHECK-NEXT:    addl $42, %esi # encoding: [0x83,0xc6,0x2a]9; CHECK-NEXT:    movl %esi, (%rdi) # encoding: [0x89,0x37]10; CHECK-NEXT:    retq # encoding: [0xc3]11  %y = add nsw i32 %x, 4212  store i32 %y, ptr %s, align 413  ret void14}15