diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2022-12-05 17:27:10 -0600 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2022-12-05 17:51:07 -0600 |
commit | 6ccd163c1c330db8aa78ebf5ae90bd436d23adb0 (patch) | |
tree | efce7d453130c354c3d96304e49936c6cd361a7b /polly | |
parent | 6b992bcce0c5a86f57c83dd8d0ac9e63bcfc5521 (diff) | |
download | llvm-6ccd163c1c330db8aa78ebf5ae90bd436d23adb0.tar.gz |
[Polly] Use std::nullopt to unbreak build.
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index 170f08e532ee..41b90bc976c2 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -2383,7 +2383,7 @@ std::string GPUNodeBuilder::createKernelASM() { } std::unique_ptr<TargetMachine> TargetM(GPUTarget->createTargetMachine( - GPUTriple.getTriple(), subtarget, "", Options, Optional<Reloc::Model>())); + GPUTriple.getTriple(), subtarget, "", Options, std::nullopt)); SmallString<0> ASMString; raw_svector_ostream ASMStream(ASMString); |