[FLANG][NFC]Use RTNAME instead of hard-coding for simplify intrinsics
authorMats Petersson <mats.petersson@arm.com>
Thu, 25 Aug 2022 12:03:21 +0000 (13:03 +0100)
committerMats Petersson <mats.petersson@arm.com>
Mon, 5 Sep 2022 12:06:44 +0000 (13:06 +0100)
commitaa94eb38777a7e133884e46c430d81e9b514d135
treebb5fdd1891a1ea3a5a2932f37e752ee75d8e53f0
parent89418ddcb50034bbd8f631cbd71514721576426d
[FLANG][NFC]Use RTNAME instead of hard-coding for simplify intrinsics

Use the RTNMAE macro (via stringify macros) to generate the name
strings for runtime functions, instead of using strings.
The sequence of macros generate exactly the same string as the
ones used previously, but this will support future changes in
runtime function names.

No functional change.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D132652
flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp