diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2019-05-29 14:59:32 +0000 |
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2019-05-29 14:59:32 +0000 |
| commit | c7f0b33fa5b0929288265891f874b646e23b4685 (patch) | |
| tree | 879d73c890ddca69eb72d4753672b4809bab3225 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | 909c8c2b0d93b9c4ae4eec11216c34f8f35c9fcc (diff) | |
| download | bcm5719-llvm-c7f0b33fa5b0929288265891f874b646e23b4685.tar.gz bcm5719-llvm-c7f0b33fa5b0929288265891f874b646e23b4685.zip | |
[mips] Check argument for __builtin_msa_ctcmsa / __builtin_msa_cfcmsa
The `__builtin_msa_ctcmsa` and `__builtin_msa_cfcmsa` builtins are mapped
to the `ctcmsa` and `cfcmsa` instructions respectively. While MSA
control registers have indexes in 0..7 range, the instructions accept
register index in 0..31 range [1].
[1] MIPS Architecture for Programmers Volume IV-j:
The MIPS64 SIMD Architecture Module
https://www.mips.com/?do-download=the-mips64-simd-architecture-module
llvm-svn: 361967
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions

