mandlebug

Results comments of mandlebug

Thanks Hubert. I've posted https://reviews.llvm.org/D155957 as an initial fix. It's not ideal in that it ends up disabling the peephole when the offset is non-zero on the consuming load/store for...

/cherry-pick cef56b9318e37e9c47fd356c76c9da522bc8c122

/cherry-pick ce658829c9ebd23066f4f0aa5dc686350e5f9ba4

/cherry-pick cef56b9318e37e9c47fd356c76c9da522bc8c122

abandoning in favour of https://github.com/llvm/llvm-project/issues/64869

nvm, I see @nikic already updated this PR. I'll close the new one instead.

/cherry-pick ce658829c9ebd23066f4f0aa5dc686350e5f9ba4 cef56b9318e37e9c47fd356c76c9da522bc8c122

https://github.com/llvm/llvm-project/issues/64716 was updated just before opening this issue. I'll keep that one opened and close this one instead.

The simplify cfg pass introduces the crash in `simplifyIndirectBr`- it converts the incoming IR ``` ; *** IR Dump After InstCombinePass on main *** ; Function Attrs: nounwind define signext...

Thanks for looking at this. I did a little bit of poking at the cloning code, its confusing because we have code [like this](https://github.com/llvm/llvm-project/blob/e3f16de9a33d48f6a9d8035a9aebfdb0e3a16ea5/llvm/lib/Transforms/Utils/CloneFunction.cpp#L207C32-L207C32) to patch up the BranchAddresses when...