[llvm-commits] [llvm] r120638 - /llvm/trunk/utils/TableGen/NeonEmitter.cpp
Bob Wilson
bob.wilson at apple.com
Wed Dec 1 17:18:15 PST 2010
Author: bwilson
Date: Wed Dec 1 19:18:15 2010
New Revision: 120638
URL: http://llvm.org/viewvc/llvm-project?rev=120638&view=rev
Log:
Add casts in arm_neon.h for result values in inline functions as well as macros.
We should not rely on lax-vector-conversions for these intrinsics to work.
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=120638&r1=120637&r2=120638&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Wed Dec 1 19:18:15 2010
@@ -734,7 +734,7 @@
} else if (sret) {
s += ts + " r; ";
} else {
- s += ts + " r; r = ";
+ s += ts + " r; r = (" + ts + ")";
}
}
More information about the llvm-commits
mailing list