[all-commits] [llvm/llvm-project] 587573: [CSKY] Fix the assert in eliminateFrameIndex when ...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Tue Jun 14 18:56:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 587573b9f9f74fdb3f816ca6de72b3ecdc6441d3
      https://github.com/llvm/llvm-project/commit/587573b9f9f74fdb3f816ca6de72b3ecdc6441d3
  Author: Zi Xuan Wu (Zeson) <zixuan.wu at linux.alibaba.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKYInstrInfo.cpp
    M llvm/lib/Target/CSKY/CSKYInstrInfo.h
    M llvm/lib/Target/CSKY/CSKYRegisterInfo.cpp

  Log Message:
  -----------
  [CSKY] Fix the assert in eliminateFrameIndex when the offset is negative

After the frameindex is resolved, the offset can be negative. It would
be materialized as unsigned integer and can still calculated by add instruction.




More information about the All-commits mailing list