craig.topper added inline comments.

================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14834
 
+    BasicBlock *NoError = createBasicBlock(StrNoErr, this->CurFn);
+    BasicBlock *Error = createBasicBlock(StrErr, this->CurFn);
----------------
Sorry I'm late here. Instead of having 3 separate strings for each intrinsic 
can you do something like `createBasicBlock(BaseName + "_no_error"...)` here. I 
believe createBasicBlock takes a Twine.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104766/new/

https://reviews.llvm.org/D104766

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to