[SimplifyLibCalls] improve code readability for AttributeList propagation; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 6 Nov 2022 14:00:04 +0000 (09:00 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 6 Nov 2022 14:07:17 +0000 (09:07 -0500)
commitbff6880a5f890b8d01d9de26d3482d3a145157c0
tree2ad10c88ab278a97deb466fcf3adaa86c2dd8adb
parent1c6ebe29d3c03382a62985fab764f5641db7f875
[SimplifyLibCalls] improve code readability for AttributeList propagation; NFC

It is possible that we can do better on some of these transforms
by passing some subset of attributes, but we were not doing that
in any of the changed code. So it's better to give that a name
to indicate we're clearing attributes or make that more obvious
by using the default-constructed empty list.
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp