[PATCH] D110322: [ConstantFolding] Fold constrained compare intrinsics

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 23:38:48 PDT 2021


sepavloff updated this revision to Diff 376427.
sepavloff added a comment.

Set `ReadNone` for all intrinsics if they can be evaluated without raising signals


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110322

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/IR/Instructions.cpp
  llvm/test/Transforms/InstSimplify/constfold-constrained.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110322.376427.patch
Type: text/x-patch
Size: 15240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211001/8a54289e/attachment.bin>


More information about the llvm-commits mailing list