Issue 143182
Summary not all store instructions are converted in the compressed format
Labels new issue
Assignees
Reporter BaoshanPang
    https://godbolt.org/z/9rsxqs9TM

`
foo:
 lui     a0, %hi(buf)
        sb      zero, %lo(buf)(a0)
        addi a0, a0, %lo(buf)
        sb      zero, 9(a0)
        sb      zero, 10(a0)
 sb      zero, 11(a0)
        sb      zero, 5(a0)
        sb zero, 6(a0)
        sb      zero, 7(a0)
        sb      zero, 8(a0)
 li      a1, 0
        **sb      a1, 1(a0)
        sb      a1, 2(a0)
 sb      a1, 3(a0)**
        sb      zero, 4(a0)
        ret
`

Why only these three instructions are converted to compressed format?


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to