This patch allows code gen to use APValue Results from ConstantExprs.
There are some outstanding concerns I'll mark with inline comments.
This is the codegen "sister patch" of: https://reviews.llvm.org/D76438
This one is a bit weird, I think the comment explains it well, but I feel there should be a better way to handle this or if there are similar issues lurking elsewhere.
|1871 ↗||(On Diff #251438)|
this looks like it is doing the same thing as llvm::Constant *ConstantEmitter::tryEmitAbstract(const APValue &value, QualType T) how is it different ?