[llvm] [BOLT][AArch64] Fixes assertion errors occurred when perf2bolt was executed (PR #83394)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 06:14:28 PDT 2024
================
@@ -0,0 +1,110 @@
+// Test how BOLT handles indirect branch sequence of instructions in
+// AArch64MCPlus builder.
+// This test checks the pattern where there is no shift amount after add
----------------
paschalis-mpeis wrote:
nit: replace:
```cpp
// This test checks the pattern where there is no shift amount after add
// instruction. The pattern come from libc, it can be reproduced with
// a 'static' built binary.
```
with something like (first line is an empty comment to separate from above):
```cpp
//
// Pattern 1: there is no shift amount after the 'add' instruction.
```
https://github.com/llvm/llvm-project/pull/83394
More information about the llvm-commits
mailing list