[llvm-commits] Fix regression on vector code
Chris Lattner
clattner at apple.com
Sat Jan 20 16:57:27 PST 2007
This fixes test/CFrontend/2007-01-20-VectorICE.c
This is a short-term fix that reverts a recent part of the merge from
apple gcc head. I will track down the real problem shortly.
Patch here:
===================================================================
--- convert.c (revision 122668)
+++ convert.c (working copy)
@@ -750,8 +750,7 @@
return convert (type, build_compound_literal_vector
(TREE_TYPE (expr), expr));
/* APPLE LOCAL end AltiVec */
- /* APPLE LOCAL mainline 4253848 */
- return build1 (VIEW_CONVERT_EXPR, type, expr);
+ return build1 (NOP_EXPR, type, expr);
default:
error ("can't convert value to a vector");
More information about the llvm-commits
mailing list