[all-commits] [llvm/llvm-project] e21a22: [Attributor] fix AANoUndef initialization
Shinji Okumura via All-commits
all-commits at lists.llvm.org
Fri Aug 21 13:21:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e21a22a7a8b7573914859595090eac671b93b5f0
https://github.com/llvm/llvm-project/commit/e21a22a7a8b7573914859595090eac671b93b5f0
Author: Shinji Okumura <okuraofvegetable at gmail.com>
Date: 2020-08-22 (Sat, 22 Aug 2020)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
M llvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
M llvm/test/Transforms/Attributor/align.ll
M llvm/test/Transforms/Attributor/dereferenceable-1.ll
M llvm/test/Transforms/Attributor/heap_to_stack.ll
M llvm/test/Transforms/Attributor/memory_locations.ll
M llvm/test/Transforms/Attributor/noalias.ll
M llvm/test/Transforms/Attributor/nocapture-2.ll
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/Attributor/returned.ll
Log Message:
-----------
[Attributor] fix AANoUndef initialization
Currently, `AANoUndefImpl::initialize` mistakenly always indicates optimistic fixpoint for function returned position.
This is because an associated value is `Function` in the case, and `isGuaranteedNotToBeUndefOrPoison` returns true for Function.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D86361
More information about the All-commits
mailing list