summaryrefslogtreecommitdiffstats
path: root/clang/examples/analyzer-plugin/MainCallChecker.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-17 02:29:19 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-17 02:29:19 +0000
commitbe5e987379bf5914d4f44ae7b5565a16f14030ca (patch)
tree187ce0d3e4f7262a802d016c931840535f7afd9d /clang/examples/analyzer-plugin/MainCallChecker.cpp
parent3400825b4184fef557d221430292d2621e988b30 (diff)
downloadbcm5719-llvm-be5e987379bf5914d4f44ae7b5565a16f14030ca.tar.gz
bcm5719-llvm-be5e987379bf5914d4f44ae7b5565a16f14030ca.zip
Introduce matching patterns for vbroadcast AVX instruction. The idea is to
match splats in the form (splat (scalar_to_vector (load ...))) whenever the load can be folded. All the logic and instruction emission is working but because of PR8156, there are no ways to match loads, cause they can never be folded for splats. Thus, the tests are XFAILed, but I've tested and exercised all the logic using a relaxed version for checking the foldable loads, as if the bug was already fixed. This should work out of the box once PR8156 gets fixed since MayFoldLoad will work as expected. llvm-svn: 137810
Diffstat (limited to 'clang/examples/analyzer-plugin/MainCallChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud