[llvm] AtomicExpand: Stop using report_fatal_error (PR #147300)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 23:00:51 PDT 2025
================
@@ -65,6 +65,17 @@ class AtomicExpandImpl {
const DataLayout *DL = nullptr;
private:
+ void handleFailure(Instruction &FailedInst, const Twine &Msg) const {
+ LLVMContext &Ctx = FailedInst.getContext();
+
+ // TODO: Do not use generic error type
----------------
cdevadas wrote:
```suggestion
// TODO: Do not use generic error type.
```
https://github.com/llvm/llvm-project/pull/147300
More information about the llvm-commits
mailing list