diff options
author | Craig Topper <craig.topper@intel.com> | 2017-12-18 21:37:27 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-12-18 21:37:27 +0000 |
commit | a0209c5a6ce8422e7a0e1cf22ea7cccd3ea8e25a (patch) | |
tree | ae5ddbbd6495fc88aded061c1f0413f16d9e9c5e /test/MC/X86/AlignedBundling/relax-in-bundle-group.s | |
parent | ebf7d454d116496faec74772a257f9c2cbb5e391 (diff) |
[X86] Don't use NOPL when the assembler is passed an empty CPU string. Update tests to force a CPU with NOPL
Empty string should be equivalent to "generic" which doesn't allow NOPL. Force tests to use specificy 'pentiumpro' to guarantee NOPL.
Fixes PR35686
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/AlignedBundling/relax-in-bundle-group.s')
-rw-r--r-- | test/MC/X86/AlignedBundling/relax-in-bundle-group.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MC/X86/AlignedBundling/relax-in-bundle-group.s b/test/MC/X86/AlignedBundling/relax-in-bundle-group.s index d07619063f0..036249b906b 100644 --- a/test/MC/X86/AlignedBundling/relax-in-bundle-group.s +++ b/test/MC/X86/AlignedBundling/relax-in-bundle-group.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \ +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro %s -o - \ # RUN: | llvm-objdump -disassemble - | FileCheck %s -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - \ +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro -mc-relax-all %s -o - \ # RUN: | llvm-objdump -disassemble - | FileCheck %s # Test that instructions inside bundle-locked groups are relaxed even if their |