[llvm-commits] [llvm] r118375 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Chris Lattner
clattner at apple.com
Sun Nov 7 10:57:04 PST 2010
On Nov 7, 2010, at 5:08 AM, Bill Wendling wrote:
> Author: void
> Date: Sun Nov 7 07:08:28 2010
> New Revision: 118375
>
> URL: http://llvm.org/viewvc/llvm-project?rev=118375&view=rev
> Log:
> In this context, a reglist is a reg.
This context is an "isa" style context. Please make the relevant clients check for both instead of changing isReg().
-Chris
>
> Modified:
> llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
>
> Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=118375&r1=118374&r2=118375&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Sun Nov 7 07:08:28 2010
> @@ -217,7 +217,7 @@
>
> bool isCondCode() const { return Kind == CondCode; }
> bool isImm() const { return Kind == Immediate; }
> - bool isReg() const { return Kind == Register; }
> + bool isReg() const { return Kind == Register || Kind == RegisterList; }
> bool isRegList() const { return Kind == RegisterList; }
> bool isToken() const { return Kind == Token; }
> bool isMemory() const { return Kind == Memory; }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list