llvm-project/llvm
Bjorn Pettersson 238c9d6308 [CodeGen] Add "const" to MachineInstr::mayAlias
Summary:
The basic idea here is to make it possible to use
MachineInstr::mayAlias also when the MachineInstr
is const (or the "Other" MachineInstr is const).

The addition of const in MachineInstr::mayAlias
then rippled down to the need for adding const
in several other places, such as
TargetTransformInfo::getMemOperandWithOffset.

Reviewers: hfinkel

Reviewed By: hfinkel

Subscribers: hfinkel, MatzeB, arsenm, jvesely, nhaehnle, hiraditya, javed.absar, llvm-commits

Tags: #llvm

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

llvm-svn: 358744
2019-04-19 09:08:38 +00:00
..
benchmarks
bindings [OCaml] Update api to account for FNeg and CallBr instructions 2019-04-16 15:00:19 +00:00
cmake [CMake] Allow custom extensions for externalized debug info 2019-04-18 16:37:07 +00:00
docs [llvm-profdata] Fix one bad format in llvm-profdata CommandGuide doc. NFC 2019-04-18 07:11:05 +00:00
examples
include [CodeGen] Add "const" to MachineInstr::mayAlias 2019-04-19 09:08:38 +00:00
lib [CodeGen] Add "const" to MachineInstr::mayAlias 2019-04-19 09:08:38 +00:00
projects
resources
runtimes
test [MergeFunc] removeUsers: call remove() only on direct users 2019-04-19 07:57:51 +00:00
tools [llvm-objcopy] Add -B mips 2019-04-18 14:22:37 +00:00
unittests [APInt] Optimize umul_ov 2019-04-19 02:06:06 +00:00
utils gn build: Merge r358607 2019-04-18 14:27:38 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Move configuration of LLVM_CXX_STD to HandleLLVMOptions.cmake 2019-04-09 08:14:32 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.