[llvm-commits] CVS: llvm/include/llvm/CodeGen/ValueTypes.h
Nate Begeman
natebegeman at mac.com
Thu Dec 29 16:10:08 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
ValueTypes.h updated: 1.15 -> 1.16
---
Log message:
add support for generating v4i32 code
---
Diffs of the changes: (+3 -0)
ValueTypes.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/include/llvm/CodeGen/ValueTypes.h
diff -u llvm/include/llvm/CodeGen/ValueTypes.h:1.15 llvm/include/llvm/CodeGen/ValueTypes.h:1.16
--- llvm/include/llvm/CodeGen/ValueTypes.h:1.15 Wed Nov 30 02:22:02 2005
+++ llvm/include/llvm/CodeGen/ValueTypes.h Thu Dec 29 18:09:56 2005
@@ -76,6 +76,9 @@
switch (VT) {
default:
break;
+ case MVT::i32:
+ if (NumElements == 4) return MVT::v4i32;
+ break;
case MVT::f32:
if (NumElements == 4) return MVT::v4f32;
break;
More information about the llvm-commits
mailing list