The ARM, BPF, MSP430, Sparc and Mips backends all use a similar code sequence for lowering SelectCC. As pointed out by @reames in D29937, this code isn't particularly clear and in most of these backends doesn't actually match the comments. This patch makes the code sequence clearer for the Sparc backend through better variable naming and more accurate comments (e.g. we are inserting triangle control flow, _not_ diamond). There is no functional change.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks, IMO this changes makes much clearer what's going on and it looks like a NFC to me.
Comment Actions
LGTM. I don't think there is any reason this cannot go in now, it obviously improves the readability.