[cfe-dev] Help with APValue comparisons
andyg1001 at hotmail.co.uk
Thu Jun 14 05:06:39 PDT 2012
I'm in the middle of cooking a patch which dramatically speeds up
compilation of constexpr functions. I have a partially working patch
already which "fixes" the bug at http://llvm.org/bugs/show_bug.cgi?id=12850.
I put "fixes" in quotes because at present the fix only works for the
"simple" cases as present, by which I mean where arguments evaluate to
APValues of type interger / float / complex / array / vector / struct.
The question I have is this: the above cases have, lets say, fairly obvious
ways for comparing whether two APValues are the same, however, I'm not sure
about LValue -- does anyone know of a suitable / correct way of comparing
two LValue-type APValues?
More information about the cfe-dev