[all-commits] [llvm/llvm-project] 876980: [M68k] Add support for lowering i1 SIGN_EXTEND_INREG

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Mon Mar 27 12:29:39 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 876980a59ca08751336b64522ab9b85c32ff49ef
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M llvm/lib/Target/M68k/M68kInstrArithmetic.td
    A llvm/test/CodeGen/M68k/Arith/sext-i1.ll

  Log Message:
  [M68k] Add support for lowering i1 SIGN_EXTEND_INREG

Lowering i1 (inreg) sext with `(NEG (AND %val, 1))`.

More information about the All-commits mailing list