[llvm-commits] [llvm] r96657 - /llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c

Devang Patel dpatel at apple.com
Thu Feb 18 18:58:33 PST 2010


Author: dpatel
Date: Thu Feb 18 20:58:33 2010
New Revision: 96657

URL: http://llvm.org/viewvc/llvm-project?rev=96657&view=rev
Log:
Test case for r96656.

Added:
    llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c

Added: llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c?rev=96657&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c (added)
+++ llvm/trunk/test/FrontendC/2010-02-18-Dbg-VectorType.c Thu Feb 18 20:58:33 2010
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4
+typedef float float4 __attribute__((vector_size(16)));
+
+int main(){
+  volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f };
+  x += x;
+  return 0;
+}
+





More information about the llvm-commits mailing list