[all-commits] [llvm/llvm-project] a420f8: [Attributor] Do not delete volatile stores to null...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Aug 12 08:40:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a420f80bf19da52dd22640bcc8e0cfa34e8ceae7
      https://github.com/llvm/llvm-project/commit/a420f80bf19da52dd22640bcc8e0cfa34e8ceae7
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
    M llvm/test/Transforms/Attributor/undefined_behavior.ll

  Log Message:
  -----------
  [Attributor] Do not delete volatile stores to null/undef

See D106309.

Differential Revision: https://reviews.llvm.org/D107906


  Commit: 5f543919b2646d36f2ddc1424acdd555bfcebe4f
      https://github.com/llvm/llvm-project/commit/5f543919b2646d36f2ddc1424acdd555bfcebe4f
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll

  Log Message:
  -----------
  [Attributor][FIX] Guard constant casts with type size checks


  Commit: 4e7d7cae674288aa518faadd63ef36608dbdbc13
      https://github.com/llvm/llvm-project/commit/4e7d7cae674288aa518faadd63ef36608dbdbc13
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
    M llvm/test/Transforms/Attributor/misc_crash.ll

  Log Message:
  -----------
  [Attributor][FIX] Do not try to rewrite functions with casted call sites

If we cast a function at the call site it is hard(er) to get the rewrite
correct, let's not attempt it for now.

Fixes PR51448.


Compare: https://github.com/llvm/llvm-project/compare/ae9a346ef862...4e7d7cae6742


More information about the All-commits mailing list