[PATCH] D82651: [GlobalISel][InlineAsm] Add support for matching input constraints

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 06:26:06 PDT 2020


john.brawn reopened this revision.
john.brawn added a comment.
This revision is now accepted and ready to land.

This is causing libcxx test failures in AArch64 -O0. Reduced testcase (the inline asm ultimately comes from DoNotOptimize in libcxx/test/support/test_macros.h):

  target triple = "aarch64-none-eabi"
  define void @fn() {
  entry:
    %ap = alloca i8*, align 8
    %0 = load i8*, i8** %ap, align 8
    call void asm sideeffect "", "=*r|m,0,~{memory}"(i8** %ap, i8* %0)
    ret void
  }

llc -O0 results in the assertion failure "Register class not set, wrong accessor" coming from the call to MRI->getRegClass(Def) at line 414.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82651/new/

https://reviews.llvm.org/D82651





More information about the llvm-commits mailing list