mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 14:33:02 +02:00
19d18aa6de
It turns out that too many passes are relying on alias analysis results for control dependencies. Until we fix that by introducing a more accurate modelling of control dependencies, special case assume in MemorySSA instead. Also introduce tests to ensure we don't regress the FunctionAttrs or LICM passes. Differential Revision: http://reviews.llvm.org/D20658 llvm-svn: 270823
5 lines
105 B
LLVM
5 lines
105 B
LLVM
; RUN: opt -S -o - -functionattrs %s | FileCheck %s
|
|
|
|
; CHECK-NOT: readnone
|
|
declare void @llvm.assume(i1)
|