summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/default-expr-arguments.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-09 23:28:11 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-09 23:28:11 +0000
commitcad4cd6c9e80bd484977a6e45cb3d277cea0f585 (patch)
tree736df91bd8fb2b2e92ffc03d7046804f460582a8 /clang/test/SemaTemplate/default-expr-arguments.cpp
parent7e615c2f655ba1c0a4c72ce75d49029546de713a (diff)
downloadbcm5719-llvm-cad4cd6c9e80bd484977a6e45cb3d277cea0f585.tar.gz
bcm5719-llvm-cad4cd6c9e80bd484977a6e45cb3d277cea0f585.zip
SelectionDAG: Don't constant fold target-specific nodes.
FoldConstantArithmetic() only knows how to deal with a few target independent ISD opcodes. Bail early if it sees a target-specific ISD node. These node do funny things with operand types which may break the assumptions of the code that follows, and there's no actual folding that can be done anyway. For example, non-constant 256 bit vector shifts on X86 have a shift-amount operand that's a 128-bit v4i32 vector regardless of what the first operand type is and that breaks the assumption that the operand types must match. rdar://16530923 llvm-svn: 205937
Diffstat (limited to 'clang/test/SemaTemplate/default-expr-arguments.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud