Mostly just adding checks for Thumb2 instructions which correspond to ARM instructions which already had diagnostics. While I'm here, also fix ARM-mode strd to check the input registers correctly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks OK to me.
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
---|---|---|
6441–6442 | Nit: all these cases are all so similar, and differ only in a few constants. While you're at it, do you think these patterns can be factored out? |
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
---|---|---|
6441–6442 | Maybe I can factor out the LDRD/STRD cases, specifically... something like bool ValidateLDRDSTRD(const MCInst &Inst, bool Load, bool ARMMode, bool Increment)? |
Nit: all these cases are all so similar, and differ only in a few constants. While you're at it, do you think these patterns can be factored out?