FailedChanges

Summary

  1. [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
  2. [BPF] fix indirect call assembly code Currently, for indirect call, the assembly code printed out as callx <imm> This is not right, it should be callx <reg> Fixed the issue with proper format. Differential Revision: https://reviews.llvm.org/D69229
Revision 375389 by yrouban:
[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
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/Instruction.cppllvm.src/lib/IR/Instruction.cpp
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.llllvm.src/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.ll
The file was added/llvm/trunk/test/Transforms/EarlyCSE/writeonly.llllvm.src/test/Transforms/EarlyCSE/writeonly.ll
Revision 375386 by yhs:
[BPF] fix indirect call assembly code

Currently, for indirect call, the assembly code printed out as
  callx <imm>
This is not right, it should be
  callx <reg>

Fixed the issue with proper format.

Differential Revision: https://reviews.llvm.org/D69229
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/BPF/BPFInstrInfo.tdllvm.src/lib/Target/BPF/BPFInstrInfo.td
The file was added/llvm/trunk/test/CodeGen/BPF/callx.llllvm.src/test/CodeGen/BPF/callx.ll