search for: armcmpnz

Displaying 1 result from an estimated 1 matches for "armcmpnz".

Did you mean: armcmp
2009 Jun 26
1
[LLVMdev] "icmp eq", "icmp ne" not commuting operands on ARM
NE and EQ comparisons should be able to commute their operands. But, for ARM at least, this does not seem to be happening. The first sequence below generates CMN (compare negated) but the second does not (complete test attached). These seem to map to ARMcmpNZ. Where would I look to see if that is marked commutative? %nb = sub i32 0, %b %tmp = icmp ne i32 %a, %nb %nb = sub i32 0, %b %tmp = icmp ne i32 %nb, %a David -------------- next part -------------- A non-text attachment was scrubbed... Name: thumb2-cmn.ll Type: application...