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

Jay Foad jay.foad at gmail.com
Tue Mar 22 08:04:15 PDT 2011


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.

Tested with "make check", LLVM and Clang. OK to commit?

Thanks,
Jay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: constant-operand-type.diff
Type: text/x-patch
Size: 1751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110322/564f13ee/attachment.bin>


More information about the llvm-commits mailing list