summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-10-08 20:02:59 +0000
committerCraig Topper <craig.topper@intel.com>2018-10-08 20:02:59 +0000
commitff9f02580dcc33bb2d1e313800c4fafd4b5e2654 (patch)
treee31f3d36fcfcdedf951172052fa2e0ce978869b7 /libcxx/include/algorithm
parent6205ba0e7f9157a849a1ddaf76a2ea213bc95e7c (diff)
downloadbcm5719-llvm-ff9f02580dcc33bb2d1e313800c4fafd4b5e2654.tar.gz
bcm5719-llvm-ff9f02580dcc33bb2d1e313800c4fafd4b5e2654.zip
[X86] Prefer isTypeLegal over checking isSimple in a DAG combine.
Simple types are a superset of what all in tree targets in LLVM could possibly have a legal type. This means the behavior of using isSimple to check for a supported type for X86 could change over time. For example, this could would change if a v256i1 type was added to MVT in the future. llvm-svn: 343995
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud