TargetRegistry: Don't add "error" to error messages
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 19 Apr 2022 00:18:05 +0000 (20:18 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 20 Apr 2022 02:29:16 +0000 (22:29 -0400)
commit752c9122a6c01af57c481d7b12ff0bb7a8132759
tree4ec3dede52d7b8ae0ff7a784e25a73de7ed96cb5
parent1900b6c77b9263239964817d56990cd84cb56729
TargetRegistry: Don't add "error" to error messages

Many of the users of this add their own "error:" to the start,
resulting in error: error.
llvm/lib/MC/TargetRegistry.cpp
llvm/test/tools/llc/invalid-target.ll [new file with mode: 0644]