[PATCH] D60793: [Evaluator] Walk initial elements when handling load through bitcast
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 08:54:54 PDT 2019
evgeny777 added a comment.
> "MutatedMemory" is only used to hold evaluated store values
It is also used to patch initializers - see `BatchCommitValueTo`
> Using the bitcast as a key would be dangerous
There is no straightforward way to do this in `MutatedMemory` because GEP is a special key type (see BatchCommitValueTo)
That's why I suggested using another map.
> we could then get different values for the same memory location
How?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60793/new/
https://reviews.llvm.org/D60793
More information about the llvm-commits
mailing list