[all-commits] [llvm/llvm-project] a7ca9e: [Attributor] Fix callsite check in AAUndefinedBeha...
Shinji Okumura via All-commits
all-commits at lists.llvm.org
Sat Aug 29 21:21:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a7ca9e09bd10a989cf920df2fd70f562707c4776
https://github.com/llvm/llvm-project/commit/a7ca9e09bd10a989cf920df2fd70f562707c4776
Author: Shinji Okumura <okuraofvegetable at gmail.com>
Date: 2020-08-30 (Sun, 30 Aug 2020)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/undefined_behavior.ll
Log Message:
-----------
[Attributor] Fix callsite check in AAUndefinedBehavior
This is the next patch of D86842
When we check `noundef` attribute violation at callsites, we do not have to require `nonnull` in the following two cases.
1. An argument is known to be simplified to undef
2. An argument is known to be dead
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D86845
More information about the All-commits
mailing list