[PATCH] D25184: Don't drop the llvm. prefix when renaming

Artur Pilipenko via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 06:58:05 PDT 2016


apilipenko added a comment.

The change seems fine, but I'm curious how we end up with an old renamed intrinsic declaration? For some reason I can't reproduce the problem locally.

If we materialize the whole module we must remove old declarations from the module (see BitcodeReader::materializeModule). Althought if we use BitcodeReader::materialize old declaration will be kept in the module.


Repository:
  rL LLVM

https://reviews.llvm.org/D25184





More information about the llvm-commits mailing list