llvm-project/llvm/test
Nuno Lopes 24a49e99f3 [NewGVN] FIx phi-of-ops in the presence of memory read operations
The phi-of-ops functionality has a function OpIsSafeForPHIOfOps
to determine when it's safe to create the new phi.
But this function only checks for the obvious dominator conditions
and ignores memory.
This patch takes the conservative approach and disables phi-of-ops
whenever there's a load that doesn't dominate the phi, as its
value may be affected by a store inside the loop.

This can be improved later to check aliasing between the
load/stores.

Fixes https://llvm.org/PR53277

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D117999
2022-01-26 10:19:18 +00:00
..
Analysis [AA] Refine ModRefInfo for llvm.memcpy.* in presence of operand bundles 2022-01-25 10:15:23 +07:00
Assembler [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
Bindings Disable Go binding test on AIX 2022-01-25 12:39:01 -05:00
Bitcode [X86][MS] Change the alignment of f80 to 16 bytes on Windows 32bits to match with ICC 2022-01-23 09:58:46 +08:00
BugPoint
CodeGen Restrict performPostLD1Combine to 64 and 128 bit vectors 2022-01-26 09:57:44 +00:00
DebugInfo Revert accidentally pushed commit. It was not yet reviewed. 2022-01-25 13:53:14 -08:00
Demangle
Examples
ExecutionEngine reapply de87238295 "[JITLink] Add anonymous symbols in LinkGraph..." 2022-01-22 20:50:36 +08:00
Feature Fix incorrect inference of writeonly despite reading operand bundle 2022-01-18 12:34:18 -08:00
FileCheck [FileCheck] Allow literal '['s before "[[var...]]" 2022-01-13 09:47:37 +00:00
Instrumentation [NFC][msan] Track alignment in the test 2022-01-14 23:45:24 -08:00
Integer
JitListener
LTO [test] Fix no-undef-type-md.ll. 2022-01-24 12:01:25 -08:00
Linker [DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals 2022-01-17 17:17:32 +00:00
MC [MC] Support constant offset for symbol PendingFixup 2022-01-26 13:50:23 +08:00
MachineVerifier
Object [AIX] Support of Big archive (read) 2022-01-18 12:13:01 -05:00
ObjectYAML
Other Add 'eager-checks' as a module parameter to MSAN. 2022-01-11 14:30:49 -08:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen Use {LITERAL} instead of regex escaping in some lit tests. NFC. 2022-01-14 10:55:00 +00:00
ThinLTO/X86 [Support] [DebugInfo] Lazily create cache dir. 2022-01-20 19:27:15 +00:00
Transforms [NewGVN] FIx phi-of-ops in the presence of memory read operations 2022-01-26 10:19:18 +00:00
Unit
Verifier [Verifier] Avoid asserting on invalid cleanuppad chain 2022-01-14 12:10:41 +01:00
YAMLParser
tools [llvm-profgen] Support to load debug info from a second binary 2022-01-24 17:14:05 -08:00
.clang-format
CMakeLists.txt [MLGO] Don't run the 'release' mode tests in non-autogenerated cases 2022-01-19 17:59:06 -08:00
TestRunner.sh
lit.cfg.py [MLGO] Don't run the 'release' mode tests in non-autogenerated cases 2022-01-19 17:59:06 -08:00
lit.site.cfg.py.in [MLGO] Don't run the 'release' mode tests in non-autogenerated cases 2022-01-19 17:59:06 -08:00