[Attributor] Cleanup intrinsic handling in nosync inference [mostly NFC]
authorPhilip Reames <listmail@philipreames.com>
Thu, 1 Apr 2021 18:48:19 +0000 (11:48 -0700)
committerPhilip Reames <listmail@philipreames.com>
Thu, 1 Apr 2021 18:49:59 +0000 (11:49 -0700)
commit8e596f7e27b47a4bf7c0890214a89b5e60a01b77
treebb428830d0c1ca7a2bed43ce8dac2906eabf877e
parent01aa9e1f6e7df5a936612084c73be704e300c881
[Attributor] Cleanup intrinsic handling in nosync inference [mostly NFC]

Mostly stylistic adjustment, but the old code didn't handle the memcpy.inline intrinsic.  By using the matcher class, we now do.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp