[PATCH] D47686: [InstCombine] refine UB-handling in shuffle-binop transform

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 3 08:52:05 PDT 2018


spatel updated this revision to Diff 149643.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:
Make it clearer via code comment and assert that we are only dealing with integer opcodes/constants (FP binops are always safe to speculate).


https://reviews.llvm.org/D47686

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/vec_shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47686.149643.patch
Type: text/x-patch
Size: 10749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180603/aec59747/attachment.bin>


More information about the llvm-commits mailing list