[all-commits] [llvm/llvm-project] fc6e91: [Local] Handle size mismatch between pointer/int i...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Mar 31 03:20:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc6e91fe8184129d2395b79ce42f4495b95b0d0d
https://github.com/llvm/llvm-project/commit/fc6e91fe8184129d2395b79ce42f4495b95b0d0d
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-03-31 (Fri, 31 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/Transforms/SROA/preserve-metadata.ll
Log Message:
-----------
[Local] Handle size mismatch between pointer/int in copyRangeMetadata()
SROA may convert a wide integer load into a narrow pointer load,
make sure we don't crash. It would not be legal to transfer the
metadata in this case.
More information about the All-commits
mailing list