Issue 56418
Summary LLVM 11 regression: assertion "conflicting locations for variable"
Labels bug, regression
Assignees
Reporter andrewrk
    reproduces with assert builds of:
 * LLVM 14.0.6
 * LLVM 13.0.1
 * LLVM 12.0.0-rc4
 * LLVM 11.0.1

does NOT reproduce with assert builds of:

 * LLVM 10.0.1

Reduction: 66KB .ll file here: https://github.com/ziglang/zig/issues/8442#issuecomment-1177111026

Repro:

```
$ ~/local/llvm13-debug/bin/clang -c reduced.ll -O2
clang: /home/andy/Downloads/llvm-project-13/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:319: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `(FrameIndexExprs.size() == 1 || llvm::all_of(FrameIndexExprs, [](FrameIndexExpr &FIE) { return FIE.Expr && FIE.Expr->isFragment(); })) && "conflicting locations for variable"' failed.
```

Downstream issue: #8442
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to