diff options
author | Jay Foad <jay.foad@amd.com> | 2022-06-23 13:35:02 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2022-06-27 09:49:20 +0100 |
commit | 77e63b25f9e90320339b621e53738b330c5f1fa3 (patch) | |
tree | d869cf25f7dd5aa00f0d23dea745f6d70c0af46c /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | fe8017476c7788806859a0fbac0c82be38874b47 (diff) | |
download | llvm-77e63b25f9e90320339b621e53738b330c5f1fa3.zip llvm-77e63b25f9e90320339b621e53738b330c5f1fa3.tar.gz llvm-77e63b25f9e90320339b621e53738b330c5f1fa3.tar.bz2 |
[AMDGPU] Fix assertion failure on mad with negative immediate addend
Without this, the new test case would fail with:
AMDGPUInstPrinter.cpp:545: void llvm::AMDGPUInstPrinter::printImmediate64(uint64_t, const llvm::MCSubtargetInfo &, llvm::raw_ostream &): Assertion `isUInt<32>(Imm) || Imm == 0x3fc45f306dc9c882' failed.
Differential Revision: https://reviews.llvm.org/D128435
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions