diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-19 12:41:37 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-19 12:41:37 +0000 |
commit | 9eed5d2f78d933e6cf73d389bdd884d72d97f11d (patch) | |
tree | fdb59538f95a42d62e7c1868ac363068aa10991a /clang/lib/Headers/opencl-c-base.h | |
parent | 8c49366c9b9d02174c8e1821bbc319275d103fc5 (diff) | |
download | bcm5719-llvm-9eed5d2f78d933e6cf73d389bdd884d72d97f11d.tar.gz bcm5719-llvm-9eed5d2f78d933e6cf73d389bdd884d72d97f11d.zip |
[DAGCombiner] Support (shl (ext (shl x, c1)), c2) -> (shl (ext x), (add c1, c2)) non-uniform folds.
Use matchBinaryPredicate instead of isConstOrConstSplat to let us handle non-uniform shift cases.
llvm-svn: 363793
Diffstat (limited to 'clang/lib/Headers/opencl-c-base.h')
0 files changed, 0 insertions, 0 deletions