[Attributor] Use getFreedOperand() (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 21 Jul 2022 12:25:54 +0000 (14:25 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 21 Jul 2022 12:26:47 +0000 (14:26 +0200)
commit3ac8587a2b7e8f9606f4bdb8c9c72a6bd652534e
treedd4e73f536b47dbe1a61a9fe1d1c47de7311fbde
parentfd64a857ee7b68870e7304a56c480fad7e5b051f
[Attributor] Use getFreedOperand() (NFC)

Track which operand is actually freed, to avoid the implicit
assumption that it is the first call argument.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp