https://bugs.llvm.org/show_bug.cgi?id=33930
Bug ID: 33930
Summary: Assertion `OpN.isUniqued() && "Only uniqued operands
cannot be mapped immediately"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Transformation Utilities
Assignee: unassignedb...@nondot.org
Reporter: paul_robin...@playstation.sony.com
CC: llvm-bugs@lists.llvm.org
Created attachment 18845
--> https://bugs.llvm.org/attachment.cgi?id=18845&action=edit
repro script
Crashes with trunk r308954. Okay with 4.0, haven't tried 5.0.
$ cat bz181281.cpp
struct Alpha {
virtual void bravo(...);
};
struct Charlie {
virtual ~Charlie() {}
};
struct CharlieImpl : Charlie, Alpha {
void bravo(...) {}
} delta;
$ clang -c -g bz181281.cpp
clang-5.0:
/home/probinson/projects/llvm-org/trunk/llvm/lib/Transforms/Utils/ValueMapper.cpp:640:
llvm::MDNode*
{anonymous}::MDNodeMapper::visitOperands({anonymous}::MDNodeMapper::UniquedGraph&,
const llvm::MDOperand*&, llvm::MDNode::op_iterator, bool&): Assertion
`OpN.isUniqued() && "Only uniqued operands cannot be mapped immediately"'
failed.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs