[all-commits] [llvm/llvm-project] 15d282: [ARM] Fix qsat for armv5te/armv6 + thumb-mode

David Green via All-commits all-commits at lists.llvm.org
Sun Apr 23 09:20:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15d28212632d550d437b8812c53a0e1f38aa4591
      https://github.com/llvm/llvm-project/commit/15d28212632d550d437b8812c53a0e1f38aa4591
  Author: David Green <david.green at arm.com>
  Date:   2023-04-23 (Sun, 23 Apr 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMSubtarget.h
    M llvm/test/CodeGen/ARM/sadd_sat.ll

  Log Message:
  -----------
  [ARM] Fix qsat for armv5te/armv6 + thumb-mode

This is a Thumb1 target, so will not have qsat instructions available. There
was a mismatch between hasBaseDSP and the instruction patterns when +dsp was
present, which is set by clang (but maybe shouldn't be). The target being
thumb1-only should override that, implying that it does not have any qadds.

Fixes #62273




More information about the All-commits mailing list