The overloads of CallInst::Create and InvokeInst::Create that are used to
adjust operand bundles purport to create a new instruction "identical in
every way except [for] the operand bundles", so copy the DebugLoc along
with everything else.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Sure, I can add something. Would extending unittests/IR/IRBuilderTest.cpp to cover this API be the right way to go?
Comment Actions
Oh, looks like something next to InstructionsTest :: CloenCall would be more appropriate. Will update.