[all-commits] [llvm/llvm-project] 60c775: [ARM] Add missing earlyclobber to sqrshr and uqrsh...

Alfie Richards via All-commits all-commits at lists.llvm.org
Tue Jan 16 02:30:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60c775769b0ee8f57a41c0667664afb12958eeac
      https://github.com/llvm/llvm-project/commit/60c775769b0ee8f57a41c0667664afb12958eeac
  Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    A llvm/test/CodeGen/ARM/sqrshr-uqrshl-unpredictable.ll
    A llvm/test/MC/ARM/mve-sqrshr-uqrshl-earlyclobber.s

  Log Message:
  -----------
  [ARM] Add missing earlyclobber to sqrshr and uqrshl instructions. (#77782)

This avoids possible undefined behavior using the same register for Rm
and Rda.

Additionally adds a check in MC to produce an error upon parsing this
case.




More information about the All-commits mailing list