[PATCH] D77076: [InstSimplify] Allow some arithmetic optimizations for add/sub/div/rem look through freeze
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 01:36:22 PDT 2020
aqjune updated this revision to Diff 255248.
aqjune added a comment.
Make matching patterns more explicit, by using m_FreezeOrSelf
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77076/new/
https://reviews.llvm.org/D77076
Files:
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/add.ll
llvm/test/Transforms/InstSimplify/div.ll
llvm/test/Transforms/InstSimplify/rem.ll
llvm/test/Transforms/InstSimplify/sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77076.255248.patch
Type: text/x-patch
Size: 9031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/0140d6ed/attachment.bin>
More information about the llvm-commits
mailing list