[PATCH] D16263: [CodeGenPrepare] Also consider metadata uses

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 16 21:01:01 PST 2016


loladiro added a comment.

Yeah, I was fearing something like that, although I had hoped that since this won't actually show  up in the generated assembly (or at least it shouldn't), it might be ok. In any case, I don't think this is representable in debug info currently without having an actual trunc instruction. We could modify the DIExpression to be able to express truncation, but that's somewhat tricky, since DWARF does not have such an operation. @aprantl, thoughts?


Repository:
  rL LLVM

http://reviews.llvm.org/D16263





More information about the llvm-commits mailing list