[all-commits] [llvm/llvm-project] 50ebd1: [Attributor] Do not manifest noundef for dead posi...

Shinji Okumura via All-commits all-commits at lists.llvm.org
Thu Aug 27 14:02:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 50ebd1afa9d7271edae3b2faa607f400fe56c9e6
      https://github.com/llvm/llvm-project/commit/50ebd1afa9d7271edae3b2faa607f400fe56c9e6
  Author: Shinji Okumura <okuraofvegetable at gmail.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
    M llvm/test/Transforms/Attributor/misc_crash.ll
    M llvm/test/Transforms/Attributor/noundef.ll

  Log Message:
  -----------
  [Attributor] Do not manifest noundef for dead positions

Even if noundef is deduced for a position, we should not manifest it when the position is dead.
This is because the associated values with dead positions are replaced with undef values by AAIsDead.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list