[llvm-commits] [llvm] r106803 - /llvm/trunk/utils/TableGen/NeonEmitter.cpp

Bob Wilson bob.wilson at apple.com
Thu Jun 24 15:21:20 PDT 2010


Author: bwilson
Date: Thu Jun 24 17:21:19 2010
New Revision: 106803

URL: http://llvm.org/viewvc/llvm-project?rev=106803&view=rev
Log:
Change array references to match my previous change to use the public type
names for the array fields.

Modified:
    llvm/trunk/utils/TableGen/NeonEmitter.cpp

Modified: llvm/trunk/utils/TableGen/NeonEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/NeonEmitter.cpp?rev=106803&r1=106802&r2=106803&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Thu Jun 24 17:21:19 2010
@@ -804,7 +804,7 @@
     // argument to the __builtin.
     if (structTypes && (proto[i] == '2' || proto[i] == '3' || proto[i] == '4')){
       for (unsigned vi = 0, ve = proto[i] - '0'; vi != ve; ++vi) {
-        s += args + ".val[" + utostr(vi) + "]";
+        s += args + ".val[" + utostr(vi) + "].val";
         if ((vi + 1) < ve)
           s += ", ";
       }





More information about the llvm-commits mailing list