We've had Thumb1 support for ARMISD::SUBE for a while now, so this just works. Reduces codesize a bit for 64-bit integer comparisons.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/ARM/wide-compares.ll | ||
---|---|---|
13 | This is a scheduling problem: the first mov is scheduled before the subs, so it can't clobber r0. (This should be a bit more clear if you pass -post-RA-scheduler=false to llc.) -enable-misched=true actually "fixes" this. I think this is by chance; as far as I know, there aren't any relevant heuristics. |
I wonder if we could predicate more aggressively here and spare us that r12 (not sure if that'd be a win though)