Skip to content

Commit

Permalink
Revert part of r321026 "[X86] Don't use NOPL when the assembler is pa…
Browse files Browse the repository at this point in the history
…ssed an empty CPU string." while I investigate how to fix an lld test failure.

Looks like lld also needs to pass a -mcpu in some of its tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321033 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed Dec 18, 2017
1 parent 456d279 commit fd4ed12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class X86AsmBackend : public MCAsmBackend {
CPU != "i586" && CPU != "pentium" && CPU != "pentium-mmx" &&
CPU != "i686" && CPU != "k6" && CPU != "k6-2" && CPU != "k6-3" &&
CPU != "geode" && CPU != "winchip-c6" && CPU != "winchip2" &&
CPU != "c3" && CPU != "c3-2" && CPU != "lakemont" && CPU != "";
CPU != "c3" && CPU != "c3-2" && CPU != "lakemont";
}

unsigned getNumFixupKinds() const override {
Expand Down

0 comments on commit fd4ed12

Please sign in to comment.