summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-25 20:27:46 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-25 20:27:46 +0000
commit913abc8b58c43977f56a06d7b8baac721661e0c9 (patch)
tree68d9eed287595ec996127ce2216173dc13155f8f /llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
parent614f1924716f85ba0a08bf8dcb2effa817d761cf (diff)
downloadbcm5719-llvm-913abc8b58c43977f56a06d7b8baac721661e0c9.tar.gz
bcm5719-llvm-913abc8b58c43977f56a06d7b8baac721661e0c9.zip
[X86] Simplify intrinsic table binary search to not require a temporary struct.
std::lower_bound doesn't require the thing to search for to be the same type as the table entries. We just need to define an appropriate comparison function that can take an table entry and an intrinsic number. llvm-svn: 335518
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud