Displaying 3 results from an estimated 3 matches for "last_integer_valuetype".
2009 Apr 07
0
[LLVMdev] Porting to System z
Hi,
> llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
> tblgen: IntrinsicEmitter.cpp:163: void EmitTypeForValueType(std::ostream&,
> llvm::MVT::SimpleValueType): Assertion `false && "Unsupported ValueType!"'
> failed.
this came up before IIRC, but I don't remember the details - buggy system
compiler? Try searching the archives. Also, if you
2009 Apr 07
2
[LLVMdev] Porting to System z
Hi,
I am beginning the porting process for Linux on System z (aka IBM
Mainframe). I thought I¹d build LLVM first with the c and cpp backends so
that tools like TableGen would be created that I¹d then use to process the
.td files that I¹ll be creating. So I used svn to grab the code from the
repository and ran configure and make. However, the build breaks at this
point:
llvm[1]: Building
2009 Apr 07
6
[LLVMdev] Porting to System z
...ou'd assume it's the tests in isInteger() that are failing:
/// isInteger - Return true if this is an integer, or a vector integer
type.
bool isInteger() const {
return isSimple() ?
((SimpleTy >= FIRST_INTEGER_VALUETYPE &&
SimpleTy <= LAST_INTEGER_VALUETYPE) ||
(SimpleTy >= v2i8 && SimpleTy <= v2i64)) :
isExtendedInteger();
}
But...
(gdb) p llvm::MVT::i8 >= FIRST_INTEGER_VALUETYPE
$10 = true
(gdb) p llvm::MVT::i8 <= LAST_INTEGER_VALUETYPE
$11 = true
So the SimpleTy variable which is a SimpleTypeVal...