[PATCH] D72930: [FEnv] Constfold some unary constrained operations

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 08:45:27 PDT 2020


sepavloff updated this revision to Diff 253132.
sepavloff added a comment.
Herald added a subscriber: nemanjai.

Added changes for PowerPC tests

Rounding intrinsics now can be constfolded, even if they are represented
by constrained intrinsics. As a result a PowerPC test that checks code
generation for constrained intrinsics needs update.

@kpn Could you check the changes in the test? The checks were regenerated
using update_llc_test_checks.py.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72930

Files:
  llvm/include/llvm/IR/FPEnv.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/IR/FPEnv.cpp
  llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
  llvm/test/Transforms/InstSimplify/constfold-constrained.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72930.253132.patch
Type: text/x-patch
Size: 40348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/312e92a4/attachment.bin>


More information about the llvm-commits mailing list