[PATCH] D130286: [PatternMatch][InstCombine] match a vector with constant expression element(s) as a constant expression

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 12:06:57 PDT 2022


spatel updated this revision to Diff 446595.
spatel added a comment.
Herald added a subscriber: hiraditya.

Updated:
Drop an explicit call to containsConstantExpression() since the matcher covers it now.


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

https://reviews.llvm.org/D130286

Files:
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/sub-of-negatible.ll
  llvm/unittests/IR/PatternMatch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130286.446595.patch
Type: text/x-patch
Size: 4294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220721/49d1d80e/attachment.bin>


More information about the llvm-commits mailing list