[llvm-commits] [llvm] r130005 - in /llvm/trunk: lib/CodeGen/SelectionDAG/TargetLowering.cpp lib/Target/README.txt test/CodeGen/X86/shrink-compare.ll

Dan Gohman gohman at apple.com
Fri Apr 22 13:14:52 PDT 2011


On Apr 22, 2011, at 11:47 AM, Benjamin Kramer wrote:

> Author: d0k
> Date: Fri Apr 22 13:47:44 2011
> New Revision: 130005
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=130005&view=rev
> Log:
> DAGCombine: fold "(zext x) == C" into "x == (trunc C)" if the trunc is lossless.

Why is this a DAGCombine instead of an InstCombine?

Dan




More information about the llvm-commits mailing list