diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-14 21:41:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-14 21:41:54 +0000 |
| commit | d8f5bd3988deb712aed249bc272b6234aa364258 (patch) | |
| tree | 81970076949fed69cf7407a8310b860d86c6f35f /docs/CommandGuide/llvm-config.pod | |
| parent | 0947429538a9e9db3df18308baaa23a1a3a6a7c7 (diff) | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/llvm-config.pod')
0 files changed, 0 insertions, 0 deletions
