summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-enum-2.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-09 23:39:25 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-09 23:39:25 +0000
commite4fef71981dba8059bd064aeb0bbe4385a46c3dc (patch)
treeb65988b16ff4eb7a58af5f2f8d379ddbf1a0a438 /clang/test/SemaTemplate/instantiate-enum-2.cpp
parentcad4cd6c9e80bd484977a6e45cb3d277cea0f585 (diff)
downloadbcm5719-llvm-e4fef71981dba8059bd064aeb0bbe4385a46c3dc.tar.gz
bcm5719-llvm-e4fef71981dba8059bd064aeb0bbe4385a46c3dc.zip
Add support for load folding of avx1 logical instructions
AVX supports logical operations using an operand from memory. Unfortunately because integer operations were not added until AVX2 the AVX1 logical operation's types were preventing the isel from folding the loads. In a limited number of cases the peephole optimizer would fold the loads, but most were missed. This patch adds explicit patterns with appropriate casts in order for these loads to be folded. The included test cases run on reduced examples and disable the peephole optimizer to ensure the folds are being pattern matched. Patch by Louis Gerbarg <lgg@apple.com> rdar://16355124 llvm-svn: 205938
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-enum-2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud