1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
Go to file
Stanislav Mekhanoshin 771ecdbd33 [AMDGPU] return Fail instead of SolfFail from addOperand()
addOperand() method of AMDGPU disassembler returns SoftFail
on error. All instances which may lead to that place are
an impossible encdoing, not something which is possible to
encode, but semantically incorrect as described for SoftFail.

Then tablegen generates a check of the following form:

if (Decode...(..) == MCDisassembler::Fail) { return MCDisassembler::Fail; }

Since we can only return Success and SoftFail that is dead
code as detected by the static code analyzer.

Solution: return Fail as it should be.

See https://bugs.llvm.org/show_bug.cgi?id=43886

Differential Revision: https://reviews.llvm.org/D69819
2019-11-05 10:25:27 -08:00
benchmarks
bindings Update version number in llvm python bindings 2019-10-25 17:14:11 -04:00
cmake Add more binutils tools to LLVM_INSTALL_TOOLCHAIN_ONLY target 2019-11-04 14:11:23 -08:00
docs [globalisel][docs] Add KnownBits Analysis documentation 2019-11-05 09:55:33 -08:00
examples Break out OrcError and RPC 2019-10-29 17:31:28 -07:00
include [JumpThreading] Factor out code to merge basic blocks (NFC) 2019-11-05 09:46:57 -08:00
lib [AMDGPU] return Fail instead of SolfFail from addOperand() 2019-11-05 10:25:27 -08:00
projects Add few docs and implementation of strcpy and strcat. 2019-10-04 17:30:54 +00:00
resources
runtimes Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds. 2019-09-24 22:38:18 +00:00
test [AMDGPU] return Fail instead of SolfFail from addOperand() 2019-11-05 10:25:27 -08:00
tools [llvm-objcopy][ELF] Implement --only-keep-debug 2019-11-05 08:56:15 -08:00
unittests [LV] Apply sink-after & interleave-groups as VPlan transformations (NFC) 2019-11-05 17:29:13 +02:00
utils [DFAPacketizer] Allow up to 64 functional units 2019-11-05 15:41:42 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt build: remove LLVM_CXX_STD extension point 2019-10-25 11:51:47 -07:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt Test commit. 2019-10-03 14:57:49 +00:00
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.