[all-commits] [llvm/llvm-project] 2ed030: [InferAddressSpaces][NFC] Small code improvements ...
Pavel Samolysov via All-commits
all-commits at lists.llvm.org
Mon Mar 21 09:03:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ed030ba88f98e7e8a8fc1ae5c8b6964fb230bb9
https://github.com/llvm/llvm-project/commit/2ed030ba88f98e7e8a8fc1ae5c8b6964fb230bb9
Author: psamolysov-intel <pavel.samolysov at intel.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Log Message:
-----------
[InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass
There is a bunch of code improvements in the patch: marking as const everything what can be
const and fixing some typos in comments.
Also the patch removes the shadowing parameter TTI from the rewriteWithNewAddressSpaces
method, the TTI parameter is not required because the same field is in the class.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D121671
More information about the All-commits
mailing list