[all-commits] [llvm/llvm-project] 4eb7b1: [Inliner] Fix noalias metadata handling for instru...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue May 11 20:54:31 PDT 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: 4eb7b15cb447b339e82bd320adf4a09ca64ab839
https://github.com/llvm/llvm-project/commit/4eb7b15cb447b339e82bd320adf4a09ca64ab839
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
A llvm/test/Transforms/Inline/pr50270.ll
Log Message:
-----------
[Inliner] Fix noalias metadata handling for instructions simplified during cloning (PR50270)
Instead of using VMap, which may include instructions from the
caller as a result of simplification, iterate over the
(FirstNewBlock, Caller->end()) range, which will only include new
instructions.
Fixes https://bugs.llvm.org/show_bug.cgi?id=50270.
Differential Revision: https://reviews.llvm.org/D102110
(cherry picked from commit aa9b02ac75350a6c7c949dd24d5c6a931be26ff9)
More information about the All-commits
mailing list