[all-commits] [llvm/llvm-project] 83e271: [AVR] Remove an assertion that causes generic Code...

Dylan McKay via All-commits all-commits at lists.llvm.org
Thu Feb 4 05:06:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83e2710eb014c9a7fcb764b0270077e4f00cdab6
      https://github.com/llvm/llvm-project/commit/83e2710eb014c9a7fcb764b0270077e4f00cdab6
  Author: Dylan McKay <me at dylanmckay.io>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AVR/AVRISelLowering.cpp
    M llvm/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll
    M llvm/test/CodeGen/Generic/inline-asm-mem-clobber.ll

  Log Message:
  -----------
  [AVR] Remove an assertion that causes generic CodeGen tests to fail

It was discussed a few years ago and agreed that it makes sense to
remove this assertion as other targets do not perform similar register
size checking in inline assembly constraint logic, so the check just
adds a needless barrier on AVR.

This patch removes the assertion and removes 'XFAIL' from two Generic
CodeGen tests for AVR as a result.




More information about the All-commits mailing list