[llvm-commits] [llvm] r157831 - in /llvm/trunk: lib/Target/X86/X86InstrArithmetic.td lib/Target/X86/X86InstrInfo.cpp lib/Target/X86/X86InstrInfo.h test/CodeGen/X86/jump_sign.ll

Eric Christopher echristo at apple.com
Fri Jun 1 14:00:32 PDT 2012


On Jun 1, 2012, at 1:56 PM, Manman Ren <mren at apple.com> wrote:

> 
> Hi Eric,
> 
> There exists a function GetOppositeBranchCondition, which is a little different from what I need.
> Here, we convert from LE to GE, while GetOppositeBranchCondition converts from LE to G.
> So I was not sure what to call this :)

Yeah, I saw that. Definitely means a need for more comments :)

GetSwapped*Condition perhaps? Since you're just swapping the condition and not actually changing it?

-eric



More information about the llvm-commits mailing list