[PATCH] D79294: [InstSimplify] Remove known bits constant folding

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 3 13:17:34 PDT 2020


nikic updated this revision to Diff 261720.
nikic added a comment.
Herald added subscribers: kerbowa, nhaehnle, jvesely.

Try to determine sign of div operands in AMDGPU expansion code. This avoids any test changes on the AMDGPU side.

If this approach looks reasonable, I'll commit it separately.


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

https://reviews.llvm.org/D79294

Files:
  lib/Analysis/InstructionSimplify.cpp
  lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  test/Analysis/ValueTracking/knownzero-shift.ll
  test/Transforms/GVN/PRE/volatile.ll
  test/Transforms/InstSimplify/assume.ll
  test/Transforms/InstSimplify/call.ll
  test/Transforms/InstSimplify/or.ll
  test/Transforms/InstSimplify/shift-knownbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79294.261720.patch
Type: text/x-patch
Size: 14396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200503/92bd62f3/attachment.bin>


More information about the llvm-commits mailing list