[PATCH] D76702: [ValueTracking] improve undef/poison analysis for constants

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 09:07:16 PDT 2020


spatel updated this revision to Diff 252341.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Disallow constant expressions or constant expression elements in a vector (tests added with rG6c3c7a0 <https://reviews.llvm.org/rG6c3c7a0dd645f4b6e1169dc0f4163f227aca21f4>).
Could we unwrap the ConstExpr by opcode similar to what we are doing for Instruction as a follow-up improvement?


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

https://reviews.llvm.org/D76702

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstSimplify/freeze.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76702.252341.patch
Type: text/x-patch
Size: 4311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200324/4911dd28/attachment.bin>


More information about the llvm-commits mailing list