[llvm] r176502 - Fixes a test by replacing .align by .p2align and setting triples explicitly.
Eli Bendersky
eliben at google.com
Tue Mar 5 10:56:14 PST 2013
Author: eliben
Date: Tue Mar 5 12:56:14 2013
New Revision: 176502
URL: http://llvm.org/viewvc/llvm-project?rev=176502&view=rev
Log:
Fixes a test by replacing .align by .p2align and setting triples explicitly.
Patch by David Sehr
Modified:
llvm/trunk/test/MC/X86/x86_long_nop.s
Modified: llvm/trunk/test/MC/X86/x86_long_nop.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86_long_nop.s?rev=176502&r1=176501&r2=176502&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86_long_nop.s (original)
+++ llvm/trunk/test/MC/X86/x86_long_nop.s Tue Mar 5 12:56:14 2013
@@ -1,9 +1,12 @@
-# RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
# Ensure alignment directives also emit sequences of 15-byte NOPs on processors
# capable of using long NOPs.
inc %eax
-.align 32
+.p2align 5
inc %eax
# CHECK: 0: inc
# CHECK-NEXT: 1: nop
More information about the llvm-commits
mailing list