[PATCH] D34988: Reduce duplication in pcrel reloc creation

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 10:24:06 PDT 2017


sbc100 added inline comments.


================
Comment at: lib/MC/MCAssembler.cpp:202
+  if (!Reloc.getSymB())
+    return;
+
----------------
Maybe move this check down so getSymB is only called once?


https://reviews.llvm.org/D34988





More information about the llvm-commits mailing list