Fix this bug.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I believe the latest guidance is to use std::Optional instead of llvm::Optional (https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716). Also it makes a difference in tests, so is not NFC. Otherwise looks good.
llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp | ||
---|---|---|
237 | You can return {} if you prefer. |
llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp | ||
---|---|---|
237 | Thanks, I like it much better than nullopt. |
You can return {} if you prefer.