[llvm-commits] [llvm] r113329 - in /llvm/trunk: include/llvm/Analysis/AliasAnalysis.h lib/Analysis/AliasAnalysis.cpp lib/Analysis/BasicAliasAnalysis.cpp

Devang Patel dpatel at apple.com
Wed Sep 8 13:06:41 PDT 2010


On Sep 7, 2010, at 6:32 PM, Dan Gohman wrote:

> +    /// ReadThenWrite - The instructions are ReadThenWriteSome and the second
> +    /// instruction writes to exactly the same memory read from by the first.
> +    ReadThenWrite,
> +

ReadThenWriteSome is missing.

> +    /// WriteThenWrite - The instructions are WriteThenWriteSome, and the
> +    /// second instruction writes to exactly the same memory written to by
> +    /// the first.
> +    WriteThenWrite,
> +
> +    /// WriteSomeThenWrite - Both instructions are write-only, and the second
> +    /// instruction writes to a superset of the memory written to by the first.
> +    WriteSomeThenWrite,

I am curious, why did not you use WriteThenWriteSome alternative ?

-
Devang



More information about the llvm-commits mailing list