[llvm-dev] [GSoC 2016] Parameters of a target architecture

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 3 05:25:04 PDT 2016


2016-06-03 13:41 GMT+02:00 Michael Kruse <llvmdev at meinersbur.de>:
>> 2. Number of double-precision floating-point numbers that can be hold
>> by a vector register.
>
> TargetTransformInfo::getRegisterBitWidth (divided by 8 if double)

Because it is getRegister_Bit_Width, divide by 64, respectively by
DataLayout::getTypeSizeInBits()

Sorry for the mistake.


Michael


More information about the llvm-dev mailing list