Changes in directory llvm/lib/CodeGen:
ValueTypes.cpp updated: 1.4 -> 1.5 --- Log message: Teach LLVM how to scalarize packed types. Currently, this only works on packed types with an element count of 1, although more generic support is coming. This allows LLVM to turn the following code: void %foo(<1 x float> * %a) { entry: %tmp1 = load <1 x float> * %a; %tmp2 = add <1 x float> %tmp1, %tmp1 store <1 x float> %tmp2, <1 x float> *%a ret void } Into: _foo: lfs f0, 0(r3) fadds f0, f0, f0 stfs f0, 0(r3) blr --- Diffs of the changes: (+1 -0) ValueTypes.cpp | 1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/ValueTypes.cpp diff -u llvm/lib/CodeGen/ValueTypes.cpp:1.4 llvm/lib/CodeGen/ValueTypes.cpp:1.5 --- llvm/lib/CodeGen/ValueTypes.cpp:1.4 Thu Aug 25 12:59:23 2005 +++ llvm/lib/CodeGen/ValueTypes.cpp Fri Nov 18 18:36:38 2005 @@ -33,6 +33,7 @@ case MVT::isVoid:return "isVoid"; case MVT::Other: return "ch"; case MVT::Flag: return "flag"; + case MVT::Vector:return "vec"; } } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits