[all-commits] [llvm/llvm-project] 9f24f0: [RS4GC] Clean up attribute removal (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Dec 22 00:57:52 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f24f010abe6b9db3d3fd913805c9e0779d00334
https://github.com/llvm/llvm-project/commit/9f24f010abe6b9db3d3fd913805c9e0779d00334
Author: Nikita Popov <npopov at redhat.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Log Message:
-----------
[RS4GC] Clean up attribute removal (NFC)
It is not necessary to explicitly check which attributes are
present, and only add those to the builder. We can simply list
all attributes that need to be stripped and remove them
unconditionally. This also allows us to use some nicer APIs that
don't require mucking about with attribute list indices.
More information about the All-commits
mailing list