[PATCH] D52865: Add support for llvm.is.constant intrinsic (PR4898)

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 22:44:05 PDT 2018


void created this revision.
void added reviewers: jyknight, eli.friedman, janusz, resistor.
Herald added a subscriber: llvm-commits.

This adds llvm-side support for post-inline evaluation of the
__builtin_constant_p GCC intrinsic.

This patch is derived from jyknight's patch:
https://reviews.llvm.org/D4276


Repository:
  rL LLVM

https://reviews.llvm.org/D52865

Files:
  docs/LangRef.rst
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/IR/Intrinsics.td
  lib/Analysis/ConstantFolding.cpp
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/GlobalISel/IRTranslator.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Transforms/Scalar/SCCP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52865.168230.patch
Type: text/x-patch
Size: 9051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181004/4abf8e4b/attachment-0001.bin>


More information about the llvm-commits mailing list