summaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2022-12-05 17:27:10 -0600
committerMichael Kruse <llvm-project@meinersbur.de>2022-12-05 17:51:07 -0600
commit6ccd163c1c330db8aa78ebf5ae90bd436d23adb0 (patch)
treeefce7d453130c354c3d96304e49936c6cd361a7b /polly
parent6b992bcce0c5a86f57c83dd8d0ac9e63bcfc5521 (diff)
downloadllvm-6ccd163c1c330db8aa78ebf5ae90bd436d23adb0.tar.gz
[Polly] Use std::nullopt to unbreak build.
Diffstat (limited to 'polly')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp2
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);