176f73404SNico Weber; REQUIRES: x86 276f73404SNico Weber; RUN: llvm-as %s -o %t.o 376f73404SNico Weber 476f73404SNico Weber; RUN: %lld %t.o -o %t.dylib -dylib 576f73404SNico Weber; RUN: llvm-objdump -d --section="__text" --no-leading-addr --no-show-raw-insn %t.dylib | FileCheck %s 676f73404SNico Weber; CHECK: nop{{$}} 776f73404SNico Weber 876f73404SNico Weber; RUN: %lld -mcpu znver1 %t.o -o %t.znver1.dylib -dylib 976f73404SNico Weber; RUN: llvm-objdump -d --section="__text" --no-leading-addr --no-show-raw-insn %t.znver1.dylib | FileCheck %s --check-prefix=ZNVER1 1076f73404SNico Weber 1176f73404SNico Weber; ZNVER1: nopw 1276f73404SNico Weber; ZNVER1-NOT: nop{{$}} 1376f73404SNico Weber 1476f73404SNico Webertarget triple = "x86_64-apple-darwin" 1576f73404SNico Webertarget datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 1676f73404SNico Weber 1776f73404SNico Weberdefine void @foo() #0 { 1876f73404SNico Weberentry: 19*ea222be0SSam Elliott call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() 2076f73404SNico Weber ret void 2176f73404SNico Weber} 2276f73404SNico Weber 2376f73404SNico Weberattributes #0 = { "frame-pointer"="all" } 24