[llvm-commits] [PATCH] fix bug in InstCombiner::visitPHINode()

Jay Foad jay.foad at gmail.com
Sat Apr 16 05:46:22 PDT 2011

I found this bug in InstCombiner::visitPHINode() by code inspection. I
have no idea what symptoms it might cause, and I don't have a test
case, but it looks obviously wrong to me: InValNo is an incoming value
number, but it is used as an operand number, which is not the same

Tested with "make check". OK to apply?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: instcombinephi.diff
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110416/d62db771/attachment.bin>

More information about the llvm-commits mailing list