[all-commits] [llvm/llvm-project] bcd800: [Attributor] Use the proper context instruction in...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Wed Apr 1 20:21:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bcd8009369f86be8649307692f5ba57aad5ca29b
https://github.com/llvm/llvm-project/commit/bcd8009369f86be8649307692f5ba57aad5ca29b
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/test/Transforms/Attributor/range.ll
Log Message:
-----------
[Attributor] Use the proper context instruction in genericValueTraversal
There was a TODO in genericValueTraversal to provide the context
instruction and due to the lack of it users that wanted one just used
something available. Unfortunately, using a fixed instruction is wrong
in the presence of PHIs so we need to update the context instruction
properly.
Reviewed By: uenoku
Differential Revision: https://reviews.llvm.org/D76870
More information about the All-commits
mailing list