[PATCH] D31949: [AArch64] Fix handling of zero immediate in fmov instructions
Renato Golin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 10:49:19 PDT 2017
rengolin added inline comments.
================
Comment at: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp:2123
+ if (RealVal.isPosZero()) {
+ Parser.Lex(); // Eat the token.
+ Operands.push_back(AArch64Operand::CreateToken("#0", false, S, getContext()));
----------------
Is this where the Parser.lex() from D31948 ended up?
================
Comment at: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp:2125
+ Operands.push_back(AArch64Operand::CreateToken("#0", false, S, getContext()));
+ Operands.push_back(AArch64Operand::CreateToken(".0", false, S, getContext()));
+ return MatchOperand_Success;
----------------
Why two tokens?
https://reviews.llvm.org/D31949
More information about the llvm-commits
mailing list