[llvm-commits] [llvm] r105598 - /llvm/trunk/utils/TableGen/NeonEmitter.cpp
Nate Begeman
natebegeman at mac.com
Mon Jun 7 23:01:16 PDT 2010
Author: sampo
Date: Tue Jun 8 01:01:16 2010
New Revision: 105598
URL: http://llvm.org/viewvc/llvm-project?rev=105598&view=rev
Log:
Refine BuiltinsARM.def types a bit, we should do a better job of this to save some c++ code in CGBuiltins.
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=105598&r1=105597&r2=105598&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Tue Jun 8 01:01:16 2010
@@ -310,8 +310,10 @@
return quad ? "V48c" : "V24c";
if (mod == '4')
return quad ? "V64c" : "V32c";
- if (mod == 'f')
- return quad ? "V4f" : "V2f";
+ if (mod == 'f')
+ return quad ? "V4f" : "V2f";
+ if (mod == 'x' || mod == 'u')
+ return quad ? "V4i" : "V2i";
return quad ? "V16c" : "V8c";
}
More information about the llvm-commits
mailing list