diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-04-19 09:08:38 +0000 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-04-19 09:08:38 +0000 |
commit | 238c9d6308df84473aecbc993cd09a53c057fe0f (patch) | |
tree | 6812d1185ff3952104ee80eb11929ed4f271066f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9ad4cb3de47e3520adb4caf1dcadd33b72038493 (diff) | |
download | llvm-238c9d6308df84473aecbc993cd09a53c057fe0f.zip llvm-238c9d6308df84473aecbc993cd09a53c057fe0f.tar.gz llvm-238c9d6308df84473aecbc993cd09a53c057fe0f.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions