[Attributor][NFC] Avoid unnecessary string operations
authorJohannes Doerfert <johannes@jdoerfert.de>
Tue, 7 Feb 2023 14:17:08 +0000 (06:17 -0800)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 10 Feb 2023 17:56:09 +0000 (11:56 -0600)
commit76a19190269be01e60703f4ece4affdcc87d23ca
treef1bd0fd7f773691b537524e79625ced48d20dfba
parentbf9964fb138fbe8486840fa3d4439f2350225977
[Attributor][NFC] Avoid unnecessary string operations

This caused multiple string operations which we don't need if we do not
create a profile.
llvm/lib/Transforms/IPO/Attributor.cpp