1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/IR
Yevgeny Rouban 7fbbd670e7 [IR] Fix mayReadFromMemory() for writeonly calls
Current implementation of Instruction::mayReadFromMemory()
returns !doesNotAccessMemory() which is !ReadNone. This
does not take into account that the writeonly attribute
also indicates that the call does not read from memory.

The patch changes the predicate to !doesNotReadMemory()
that reflects the intended behavior.

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

llvm-svn: 375389
2019-10-21 06:52:08 +00:00
..
AbstractCallSite.cpp
AsmWriter.cpp [ThinLTO] Fix printing of NoInline function summary flag 2019-10-14 18:37:31 +00:00
AttributeImpl.h Fix analyzer TypeAttributeImpl::anchor() override. 2019-09-25 14:23:25 +00:00
Attributes.cpp [Alignment] Migrate Attribute::getWith(Stack)Alignment 2019-10-15 12:56:24 +00:00
AttributesCompatFunc.td
AutoUpgrade.cpp Regex: Make "match" and "sub" const member functions 2019-09-24 14:42:36 +00:00
BasicBlock.cpp [FastISel] Fix insertion of unconditional branches during FastISel 2019-09-20 13:22:59 +00:00
CMakeLists.txt
Comdat.cpp
ConstantFold.cpp [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign 2019-10-15 13:58:22 +00:00
ConstantFold.h
ConstantRange.cpp [ConstantRange] makeGuaranteedNoWrapRegion(): shl support 2019-10-20 19:36:55 +00:00
Constants.cpp
ConstantsContext.h Fix cppcheck variable shadow warning. NFCI. 2019-09-25 13:45:36 +00:00
Core.cpp [Alignment] Migrate Attribute::getWith(Stack)Alignment 2019-10-15 12:56:24 +00:00
DataLayout.cpp [SVE][IR] Scalable Vector size queries and IR instruction support 2019-10-08 12:53:54 +00:00
DebugInfo.cpp Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
DebugInfoMetadata.cpp [DebugInfo] Add a DW_OP_LLVM_entry_value operation 2019-10-15 11:31:21 +00:00
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp
DiagnosticPrinter.cpp
DIBuilder.cpp
Dominators.cpp
Function.cpp [IntrinsicEmitter] Add overloaded type VecOfBitcastsToInt for SVE intrinsics 2019-10-02 09:25:02 +00:00
Globals.cpp [Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned) 2019-10-15 11:24:36 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp [IR] Fix mayReadFromMemory() for writeonly calls 2019-10-21 06:52:08 +00:00
Instructions.cpp [SVE][IR] Small TypeSize improvements left out of initial commit 2019-10-16 16:33:41 +00:00
IntrinsicInst.cpp [FPEnv] Add constrained intrinsics for lrint and lround 2019-10-07 13:20:00 +00:00
IRBuilder.cpp [Alignment] Migrate Attribute::getWith(Stack)Alignment 2019-10-15 12:56:24 +00:00
IRPrintingPasses.cpp
LegacyPassManager.cpp [LegacyPassManager] Attempt to fix BasicBlockManager 2019-09-30 17:23:49 +00:00
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h
Mangler.cpp
MDBuilder.cpp
Metadata.cpp Reland: Dead Virtual Function Elimination 2019-10-17 09:58:57 +00:00
MetadataImpl.h
Module.cpp
ModuleSummaryIndex.cpp
Operator.cpp
OptBisect.cpp
Pass.cpp
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp
PassTimingInfo.cpp
ProfileSummary.cpp
RemarkStreamer.cpp [Tools] Mark output of tools as text if it is text 2019-10-08 08:21:20 +00:00
SafepointIRVerifier.cpp SafepointIRVerifier - silence static analyzer dyn_cast<Instruction> null dereference warnings. NFCI. 2019-09-24 13:57:44 +00:00
Statepoint.cpp
SymbolTableListTraitsImpl.h
Type.cpp [SVE][IR] Scalable Vector size queries and IR instruction support 2019-10-08 12:53:54 +00:00
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign 2019-10-15 13:58:22 +00:00
ValueSymbolTable.cpp
Verifier.cpp [DebugInfo] Add a DW_OP_LLVM_entry_value operation 2019-10-15 11:31:21 +00:00