[all-commits] [llvm/llvm-project] df25f0: [M68k] Fix a bug in disassembler

Sheng via All-commits all-commits at lists.llvm.org
Thu May 19 06:20:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df25f0d5202bbd9e2e909dccb1aa16f8ebad5e7b
      https://github.com/llvm/llvm-project/commit/df25f0d5202bbd9e2e909dccb1aa16f8ebad5e7b
  Author: Sheng <ox59616e at gmail.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M llvm/lib/Target/M68k/Disassembler/M68kDisassembler.cpp

  Log Message:
  -----------
  [M68k] Fix a bug in disassembler

Sorry for my reckless patch. In some cases `RoundUp` is less than
the bit width of APInt. We need to check this before we do zext.




More information about the All-commits mailing list