summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-07-09 06:12:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-07-09 06:12:56 +0000
commita809f28956fabc28d29103aada5f72cf847efe91 (patch)
treea484c2527a0bc4c5a619523e68fc3f7124eb0894 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
parentb80b44b7b9a47058c3df08e390517617968ebc83 (diff)
downloadbcm5719-llvm-a809f28956fabc28d29103aada5f72cf847efe91.tar.gz
bcm5719-llvm-a809f28956fabc28d29103aada5f72cf847efe91.zip
[ADT] Add a default constructor and a bool conversion to function_ref.
The internal representation has a natural way to handle this and it seems nicer than having to wrap this in an optional (with its own separate flag). This also matches how std::function works. llvm-svn: 307490
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud