[PATCH] D23798: [Instruction] Introduce a predicate mustOperandBeConstant()

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 12:06:32 PDT 2016


jmolloy updated this revision to Diff 69023.
jmolloy added a comment.

Hi Sanjay,

That sounds good to me. This new patch has the const checking factored out of the Verifier and used in both places.

Cheers,

James


Repository:
  rL LLVM

https://reviews.llvm.org/D23798

Files:
  include/llvm/IR/Instruction.h
  lib/IR/Instruction.cpp
  lib/Transforms/Utils/SimplifyCFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23798.69023.patch
Type: text/x-patch
Size: 4177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160823/932ffdc3/attachment.bin>


More information about the llvm-commits mailing list