[llvm-commits] [llvm] r40513 - /llvm/trunk/utils/TableGen/CodeGenTarget.cpp
Christopher Lamb
christopher.lamb at gmail.com
Wed Jul 25 23:41:18 PDT 2007
Author: clamb
Date: Thu Jul 26 01:41:18 2007
New Revision: 40513
URL: http://llvm.org/viewvc/llvm-project?rev=40513&view=rev
Log:
Teach TableGen about the new vector types.
Modified:
llvm/trunk/utils/TableGen/CodeGenTarget.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenTarget.cpp?rev=40513&r1=40512&r2=40513&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenTarget.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenTarget.cpp Thu Jul 26 01:41:18 2007
@@ -61,6 +61,8 @@
case MVT::v2f32: return "MVT::v2f32";
case MVT::v4f32: return "MVT::v4f32";
case MVT::v2f64: return "MVT::v2f64";
+ case MVT::v3i32: return "MVT::v3i32";
+ case MVT::v3f32: return "MVT::v3f32";
case MVT::iPTR: return "TLI.getPointerTy()";
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
}
@@ -93,6 +95,8 @@
case MVT::v2f32: return "MVT::v2f32";
case MVT::v4f32: return "MVT::v4f32";
case MVT::v2f64: return "MVT::v2f64";
+ case MVT::v3i32: return "MVT::v3i32";
+ case MVT::v3f32: return "MVT::v3f32";
case MVT::iPTR: return "TLI.getPointerTy()";
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
}
More information about the llvm-commits
mailing list