summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-14 21:41:54 +0000
committerChris Lattner <sabre@nondot.org>2006-04-14 21:41:54 +0000
commit1c0ef4385d8b694ad7871da8a987b8425ea546d0 (patch)
tree235204f25760cf80ee694912dd7e3110caa82f2f /llvm/lib/Transforms/TransformInternals.h
parentb138bbe85b39c9cf53382896fd36a5699719ecf5 (diff)
downloadbcm5719-llvm-1c0ef4385d8b694ad7871da8a987b8425ea546d0.tar.gz
bcm5719-llvm-1c0ef4385d8b694ad7871da8a987b8425ea546d0.zip
New testcase, checking to see we can turn this code:
void test(vector float *F, float f) { vector float G = *F + *F; *((float*)&G) = f; *F = G + G; } void test2(vector float *F, float f) { vector float G = *F + *F; ((float*)&G)[2] = f; *F = G + G; } void test3(vector float *F, float *f) { vector float G = *F + *F; *f = ((float*)&G)[2]; } void test4(vector float *F, float *f) { vector float G = *F + *F; *f = *((float*)&G); } into insert/extract element operations with no memory traffic. llvm-svn: 27709
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud