[PATCH] D102367: [Intrinsics] is_constant intrinsic on undef evaluates to false

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 10:44:23 PDT 2021


nickdesaulniers updated this revision to Diff 345214.
nickdesaulniers marked an inline comment as done.
nickdesaulniers added a comment.
Herald added a subscriber: dexonsmith.

- hoist isManifestConstant to method of Constant, drop undef special case


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102367/new/

https://reviews.llvm.org/D102367

Files:
  llvm/include/llvm/IR/Constant.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
  llvm/test/Transforms/LowerConstantIntrinsics/constant-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102367.345214.patch
Type: text/x-patch
Size: 3925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/eb1777ea/attachment.bin>


More information about the llvm-commits mailing list