1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/unittests/Target
vpykhtin 9d887381ef [AMDGPU] Fix access beyond the end of the basic block in execMayBeModifiedBeforeAnyUse.
I was wrong in thinking that MRI.use_instructions return unique instructions and mislead Jay in his previous patch D64393.

First loop counted more instructions than it was in reality and the second loop went beyond the basic block with that counter.

I used Jay's previous code that relied on MRI.use_operands to constrain the number of instructions to check among.
modifiesRegister is inlined to reduce the number of passes over instruction operands and added assert on BB end boundary.

Differential Revision: https://reviews.llvm.org/D89386
2020-10-23 19:17:48 +03:00
..
AArch64 Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
AMDGPU [AMDGPU] Fix access beyond the end of the basic block in execMayBeModifiedBeforeAnyUse. 2020-10-23 19:17:48 +03:00
ARM [ARM] VPT validForTailPredication 2020-09-22 08:58:37 +01:00
PowerPC [NFC][PowerPC] Remove unnecessary link components. 2020-01-16 21:22:51 -05:00
WebAssembly CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
X86 [PGO][PGSO] Distinguish queries from unit tests and explicitly enable for the existing IR passes only. NFC. 2019-12-04 09:35:50 -08:00
CMakeLists.txt