[X86] Don't use NOPL when the assembler is passed an empty CPU string. Update tests...
authorCraig Topper <craig.topper@intel.com>
Mon, 18 Dec 2017 21:37:27 +0000 (21:37 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 18 Dec 2017 21:37:27 +0000 (21:37 +0000)
commit4802d4e23e8fd3fb133f1f5e5aeb14dc1ef1c782
tree36192e53d0edd2d7ba022b38a425f1f8e57a9773
parent34688b9e38f7ccb9928e0e89d937dcda218a2fc6
[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

llvm-svn: 321026
13 files changed:
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm/test/MC/COFF/align-nops.s
llvm/test/MC/ELF/align-nops.s
llvm/test/MC/MachO/x86_32-optimal_nop.s
llvm/test/MC/X86/AlignedBundling/different-sections.s
llvm/test/MC/X86/AlignedBundling/long-nop-pad.s
llvm/test/MC/X86/AlignedBundling/misaligned-bundle-group.s
llvm/test/MC/X86/AlignedBundling/misaligned-bundle.s
llvm/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
llvm/test/MC/X86/AlignedBundling/pad-bundle-groups.s
llvm/test/MC/X86/AlignedBundling/relax-in-bundle-group.s
llvm/test/MC/X86/AlignedBundling/single-inst-bundling.s
llvm/test/MC/X86/x86_long_nop.s