[all-commits] [llvm/llvm-project] ed46e8: [MachineInstr] exclude call instruction in mayAlias
Chen Zheng via All-commits
all-commits at lists.llvm.org
Tue Oct 6 21:19:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ed46e84c7aaffd847656ac559acb06089096ec33
https://github.com/llvm/llvm-project/commit/ed46e84c7aaffd847656ac559acb06089096ec33
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M llvm/lib/CodeGen/MachineInstr.cpp
Log Message:
-----------
[MachineInstr] exclude call instruction in mayAlias
we now get noAlias result for a call instruction and other
load/store/call instructions if we query mayAlias.
This is not right as call instruction is not with mayloadorstore,
but it may alter the memory.
This patch fixes this wrong alias query.
Differential Revision: https://reviews.llvm.org/D87490
More information about the All-commits
mailing list