]> granicus.if.org Git - llvm/commit
[mips] Replace assert by an error message
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 29 Dec 2017 19:18:24 +0000 (19:18 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 29 Dec 2017 19:18:24 +0000 (19:18 +0000)
commitc462ca9f93b0612d2331120f14f033ff752efd2e
tree3848f2378678df5cff26535cb29902d62293f4f3
parent9b9b8d4dd5cc9d373070efa922afec714e5f4ade
[mips] Replace assert by an error message

Initially, if the `c` constraint applied to the wrong data type that
causes LLVM to assert. This commit replaces the assert by an error
message.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/constraint-c-err.ll [new file with mode: 0644]
test/CodeGen/Mips/constraint-c.ll [new file with mode: 0644]