[PATCH] D16691: [InstCombine] simplify masked load intrinsics with constant masks

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 13:51:04 PST 2016


spatel updated this revision to Diff 46427.
spatel added a comment.

Patch updated based on feedback from Simon:

1. Cast the mask to plain 'Constant' for simpler predicates.
2. Remove the 'TODO' and associated test cases for constant masks with a single set bit.


http://reviews.llvm.org/D16691

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/masked_intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16691.46427.patch
Type: text/x-patch
Size: 4504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/4edf876c/attachment.bin>


More information about the llvm-commits mailing list