[PATCH] D115009: [SPIRV 1/6] Add stub for SPIRV backend

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 08:56:08 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp:39
+static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) {
+  if (!RM.hasValue())
+    return Reloc::PIC_;
----------------
Don’t need .hasValue()


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

https://reviews.llvm.org/D115009



More information about the llvm-commits mailing list