[all-commits] [llvm/llvm-project] 52cc97: [CodeGenPrepare] Zap the argument of llvm.assume w...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Fri Aug 28 11:52:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 52cc97a0db2d4c20655d4df7f2ae5c087ee5807b
      https://github.com/llvm/llvm-project/commit/52cc97a0db2d4c20655d4df7f2ae5c087ee5807b
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    A llvm/test/Transforms/CodeGenPrepare/X86/delete-assume-dead-code.ll

  Log Message:
  -----------
  [CodeGenPrepare] Zap the argument of llvm.assume when deleting it

We know that the argument is mostly likely dead, so we can purge it
early. Otherwise it would make it to codegen, and can block further
optimizations.




More information about the All-commits mailing list