The existing code is very clever, but not clear, which seems like the wrong tradeoff here.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks like a straightforward NFC that makes the code clearer. LGTM, but maybe someone else should have a quick look too.
Comment Actions
LGTM
lib/Target/ARM/ARMISelLowering.cpp | ||
---|---|---|
12366 | Agree, this code needs to be reviewed. LDRD has tricky addressing modes for both ARM and T2 modes. |
Agree, this code needs to be reviewed. LDRD has tricky addressing modes for both ARM and T2 modes.