mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87f03108f2
commit
6cdc42b3d1
@ -11,6 +11,11 @@
|
|||||||
// that simply implements a few identities (two different globals cannot alias,
|
// that simply implements a few identities (two different globals cannot alias,
|
||||||
// etc), but otherwise does no analysis.
|
// etc), but otherwise does no analysis.
|
||||||
//
|
//
|
||||||
|
// FIXME: This could be extended for a very simple form of mod/ref information.
|
||||||
|
// If a pointer is locally allocated (either malloc or alloca) and never passed
|
||||||
|
// into a call or stored to memory, then we know that calls will not mod/ref the
|
||||||
|
// memory. This can be important for tailcallelim.
|
||||||
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/Analysis/AliasAnalysis.h"
|
#include "llvm/Analysis/AliasAnalysis.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user