[PATCH] D60793: [Evaluator] Walk initial elements when handling load through bitcast

Robert Lougher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 10:57:50 PDT 2019


rob.lougher added a comment.

In D60793#1470484 <https://reviews.llvm.org/D60793#1470484>, @evgeny777 wrote:

> Can't operand 0 of bitcast (`%union.A* %u`) be used as a key?


Currently the (possibly casted) stored value is of the type of the key. This means the pointer lookup at the start of ComputeLoadResult() will return a value of the correct type. I guess, my question is what's wrong with keeping it like it is?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60793/new/

https://reviews.llvm.org/D60793





More information about the llvm-commits mailing list