[PATCH] D58096: [LowerSwitch][AMDGPU] Do not handle impossible values

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 03:12:42 PST 2019


rtereshin updated this revision to Diff 186985.
rtereshin added a comment.

1. Addressed comments
2. Refined the switch's operand constraints with known bits and added corresponding tests (all based on real-world cases)


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58096

Files:
  lib/Transforms/Utils/LowerSwitch.cpp
  test/CodeGen/AMDGPU/valu-i1.ll
  test/Transforms/LowerSwitch/do-not-handle-impossible-values.ll
  test/Transforms/Util/lowerswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58096.186985.patch
Type: text/x-patch
Size: 50775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190215/db04579c/attachment.bin>


More information about the llvm-commits mailing list