1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/test
Nikita Popov 4ddceef928 [WebAssembly] Fix FastISel of condition in different block (PR51651)
If the icmp is in a different block, then the register for the icmp
operand may not be initialized, as it nominally does not have
cross-block uses. Add a check that the icmp is in the same block
as the branch, which should be the common case.

This matches what X86 FastISel does:
5b6b090cf2/llvm/lib/Target/X86/X86FastISel.cpp (L1648)

The "not" transform that could have a similar issue is dropped
entirely, because it is currently dead: The incoming value is
a branch or select condition of type i1, but this code requires
an i32 to trigger.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51651.

Differential Revision: https://reviews.llvm.org/D108840

(cherry picked from commit 16086d47c0d0cd08ffae8e69a69c88653e654d01)
2021-08-31 20:58:25 -07:00
..
Analysis [AArch64] Update and expand min-max cost model test. NFC 2021-07-27 18:48:58 +01:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [WebAssembly] Fix FastISel of condition in different block (PR51651) 2021-08-31 20:58:25 -07:00
DebugInfo Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
Demangle
Examples
ExecutionEngine [JITLink][RISCV] Run new test from 0ad562b48 only if the RISCV backend is enabled 2021-07-25 10:47:26 -04:00
Feature
FileCheck
Instrumentation [hwasan] Use stack safety analysis. 2021-07-22 16:20:27 -07:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [AArch64][SME] Add zero instruction 2021-07-27 08:35:45 +00:00
Object [llvm-readobj] Display multiple function names for stack size entries 2021-07-26 14:49:53 +01:00
ObjectYAML [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
Other [ConstantFold] Get rid of special cases for sizeof etc. 2021-08-04 21:25:15 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86 ThinLTO: Fix inline assembly references to static functions with CFI 2021-08-24 18:49:13 -07:00
tools [Coverage][llvm-cov] Correctly export branch coverage in LCOV format 2021-08-23 21:02:01 -07:00
Transforms [LoopIdiom] Don't transform loop into memmove when load from body has more than one use 2021-08-25 16:19:10 +02:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.cfg.py [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.site.cfg.py.in
TestRunner.sh