File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5067,7 +5067,6 @@ class OffloadingActionBuilder final {
5067
5067
5068
5068
// Return whether to use native bfloat16 library.
5069
5069
bool selectBfloatLibs (const ToolChain *TC, bool &useNative) {
5070
- const OptTable &Opts = C.getDriver ().getOpts ();
5071
5070
const char *TargetOpt = nullptr ;
5072
5071
const char *DeviceOpt = nullptr ;
5073
5072
bool needLibs = false ;
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ class LLVM_LIBRARY_VISIBILITY SYCLToolChain : public ToolChain {
175
175
176
176
bool useIntegratedAs () const override { return true ; }
177
177
bool isPICDefault () const override { return false ; }
178
- bool isPIEDefault (const llvm::opt::ArgList &Args) const override {\
178
+ bool isPIEDefault (const llvm::opt::ArgList &Args) const override {
179
179
return false ;
180
180
}
181
181
bool isPICDefaultForced () const override { return false ; }
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ bool CompilerInstance::createTarget() {
146
146
return false ;
147
147
148
148
// Inform the target of the language options.
149
- //
150
149
// FIXME: We shouldn't need to do this, the target should be immutable once
151
150
// created. This complexity should be lifted elsewhere.
152
151
getTarget ().adjust (getDiagnostics (), getLangOpts ());
You can’t perform that action at this time.
0 commit comments