[llvm-bugs] [Bug 40693] New: [ARM64] assert unimplemented reg-to-reg copy

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 11 09:23:53 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40693

            Bug ID: 40693
           Summary: [ARM64] assert unimplemented reg-to-reg copy
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: al.grant at arm.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Fails on 8.0.0-rc2 at -O1 or higher (-O0 is ok).

clang -O2 --target=aarch64-linux-gnu -march=armv8.1a

void inc128(__int128 *p)
{
        __int128 n, nn;
        do {
                __atomic_load(p, &n, __ATOMIC_RELAXED);
                n = n + 1;
        } while (!__sync_bool_compare_and_swap(p, n, nn));
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190211/f3b0c34e/attachment.html>


More information about the llvm-bugs mailing list