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

Bob Wilson bob.wilson at apple.com
Wed Dec 1 16:24:57 PST 2010


Author: bwilson
Date: Wed Dec  1 18:24:56 2010
New Revision: 120631

URL: http://llvm.org/viewvc/llvm-project?rev=120631&view=rev
Log:
Cast scalar results of Neon macros to the correct type.

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=120631&r1=120630&r2=120631&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Wed Dec  1 18:24:56 2010
@@ -727,7 +727,7 @@
     if (define) {
       if (sret)
         s += "({ " + ts + " r; ";
-      else if (proto[0] != 's')
+      else
         s += "(" + ts + ")";
     } else if (sret) {
       s += ts + " r; ";





More information about the llvm-commits mailing list