[PATCH] Added llvm.is.constant intrinsic
Janusz Sobczak
janusz.sobczak at mobica.com
Thu Jun 26 07:03:12 PDT 2014
Moved lowering llvm.is.constant to False from LegalizeDAG to SelectionDAG. Code to promote or expand llvm.is.constant is not required any more and the intrinsic works fine with different input integer types.
http://reviews.llvm.org/D4276
Files:
docs/LangRef.rst
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/IR/Intrinsics.td
include/llvm/Target/TargetSelectionDAG.td
lib/Analysis/ConstantFolding.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
test/CodeGen/Generic/inline-is-constant.ll
test/CodeGen/Generic/is-constant.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4276.10884.patch
Type: text/x-patch
Size: 9311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140626/f3ab116e/attachment.bin>
More information about the llvm-commits
mailing list