[llvm-commits] [llvm] r74228 - in /llvm/trunk: lib/Target/ARM/ARMInstrInfo.td lib/Target/ARM/ARMInstrThumb2.td test/CodeGen/ARM/carry.ll test/CodeGen/Thumb2/carry.ll

Dan Gohman gohman at apple.com
Thu Jun 25 18:11:09 PDT 2009


Hi Evan,

On Jun 25, 2009, at 4:34 PM, Evan Cheng wrote:

> +def CarryDefIsUnused : Predicate<"N.getNode()->hasNUsesOfValue(0,  
> 1)">;
> +def CarryDefIsUsed   : Predicate<"N.getNode()->hasAnyUseOfValue(1)">;

CarryDefIsUnused's predicate would be a little simpler as
   "!N.getNode()->hasAnyUseOfValue(1)"

Dan




More information about the llvm-commits mailing list