]> granicus.if.org Git - llvm/commit
[ConstantFolding] Refactor function match for better speed (NFC)
authorEvandro Menezes <e.menezes@samsung.com>
Fri, 6 Sep 2019 16:49:49 +0000 (16:49 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Fri, 6 Sep 2019 16:49:49 +0000 (16:49 +0000)
commit19e6a0847ff5634cd78f410df388ca396005deab
tree82aac9e5a7da5e4827de163a984cecc052c14715
parent7ce009179cc68c2bbbe3c733dc162b898f2663be
[ConstantFolding] Refactor function match for better speed (NFC)

Use an `enum` instead of string comparison to match the candidate function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp