diff options
author | Wang Rui <wangrui@loongson.cn> | 2020-06-19 22:05:28 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-06-19 22:08:59 -0700 |
commit | dd48c57da35e069c739361ce822b98c6e42f555e (patch) | |
tree | f63d68794f0525d9c458124f8b5128deba200089 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 058ec2067724ee7d973af4201c7f53157d9810aa (diff) | |
download | llvm-dd48c57da35e069c739361ce822b98c6e42f555e.zip llvm-dd48c57da35e069c739361ce822b98c6e42f555e.tar.gz llvm-dd48c57da35e069c739361ce822b98c6e42f555e.tar.bz2 |
[Mips] Error if a non-immediate operand is used while an immediate is expected
The 32-bit type relocation (R_MIPS_32) cannot be used for instructions below:
ori $4, $4, start
ori $4, $4, (start - .)
We should print an error instead.
Reviewed By: atanasyan, MaskRay
Differential Revision: https://reviews.llvm.org/D81908
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions