Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm < %s | grep 'shufflevector' | count 1 |
Eli Friedman | 0eb47fc | 2011-05-19 00:37:32 +0000 | [diff] [blame^] | 2 | // RUN: %clang_cc1 -emit-llvm -ftrapv < %s | grep 'shufflevector' | count 1 |
Eli Friedman | d38617c | 2008-05-14 19:38:39 +0000 | [diff] [blame] | 3 | typedef int v4si __attribute__ ((vector_size (16))); |
| 4 | |
Eli Friedman | 0eb47fc | 2011-05-19 00:37:32 +0000 | [diff] [blame^] | 5 | v4si a(v4si x, v4si y) {return __builtin_shufflevector(x, y, 3, 2, 5, (2*3)+1);} |
Eli Friedman | d38617c | 2008-05-14 19:38:39 +0000 | [diff] [blame] | 6 | |