We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04776bd commit ca01a6bCopy full SHA for ca01a6b
llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
@@ -1737,7 +1737,7 @@ bool PPCAsmParser::ParseDirectiveMachine(SMLoc L) {
1737
// Implement ".machine any" (by doing nothing) for the benefit
1738
// of existing assembler code. Likewise, we can then implement
1739
// ".machine push" and ".machine pop" as no-op.
1740
- if (CPU != "any" && CPU != "push" && CPU != "pop")
+ if (CPU != "any" && CPU != "push" && CPU != "pop" && CPU != "ppc64")
1741
return TokError("unrecognized machine type");
1742
1743
Parser.Lex();
llvm/test/MC/PowerPC/ppc-machine.s
@@ -14,3 +14,4 @@
14
.machine "any"
15
.machine "pop"
16
17
+ .machine ppc64
0 commit comments