Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 -no-integrated-as -mtriple=x86_64-linux-gnu | FileCheck %s
      2 
      3 ; CHECK-LABEL: test1:
      4 ; CHECK: movl	(%rdi), %eax
      5 ; CHECK: nop
      6 ; CHECK: movl	%eax, (%rdi)
      7 ; CHECK: ret
      8 define void @test1(i32* %l) {
      9   %load = load i32, i32* %l
     10   call void asm "nop", "=*rmrm,0m0m,~{dirflag},~{fpsr},~{flags}"(i32* %l, i32 %load)
     11   ret void
     12 }
     13