[PATCH] D64039: [WebAssembly] tablegen: distinguish float/int immediate operands.
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 17:22:49 PDT 2019
aheejin added inline comments.
================
Comment at: lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp:92
bool isToken() const override { return Kind == Token; }
- bool isImm() const override {
- return Kind == Integer || Kind == Float || Kind == Symbol;
- }
+ bool isImm() const override { return Kind == Integer || Kind == Symbol; }
+ bool isFPImm() const { return Kind == Float; }
----------------
Isn't this supposed to include both integer and float immediates? (It is an inherited one, so)
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64039/new/
https://reviews.llvm.org/D64039
More information about the llvm-commits
mailing list