mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-03 15:29:28 +00:00
response from getModRefInfo is not useful here. Instead, check for identical calls only in the NoModRef case. Reapply r110270, and strengthen it to compensate for the memdep changes. When both calls are readonly, there is no dependence between them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110382 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
262 B
LLVM
13 lines
262 B
LLVM
; RUN: opt < %s -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
|
|
|
|
; CHECK: Just Ref: call void @ro() <-> call void @f0()
|
|
|
|
declare void @f0()
|
|
declare void @ro() readonly
|
|
|
|
define void @test() {
|
|
call void @f0()
|
|
call void @ro()
|
|
ret void
|
|
}
|