[PATCH] D20178: Fix PR26055 - LiveDebugValues is very slow
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 13:15:54 PDT 2016
aprantl added inline comments.
Comment at: lib/CodeGen/LiveDebugValues.cpp:103
@@ +102,3 @@
+ } RegisterLoc;
+ uint64_t Hash;
+ } Loc;
> Errr, do you really never use the hash and the registerloc at the same time?
The hash is meant to be a convenient alternative view of the the two uint32_t as a single uint64_t. Now that I think of it, I wonder whether that is guaranteed on all imaginable architectures.
More information about the llvm-commits