[llvm-commits] [PATCH] Constant operands are not Users

Chris Lattner clattner at apple.com
Sat Apr 9 14:37:38 PDT 2011


On Mar 22, 2011, at 8:04 AM, Jay Foad wrote:

> There seems to be a slight misconception in the code that the operands
> of a Constant are always Users. This isn't true, since the operand of
> a BlockAddress constant is a BasicBlock, which isn't a User. This
> patch removes the anomalous code.

Looks great!

-Chris



More information about the llvm-commits mailing list