Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Oct 2020 18:09:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 232911] Assembly code crashes clang
Message-ID:  <bug-232911-29464-H9HarKrUub@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232911-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232911-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232911

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit references this bug:

Author: dim
Date: Mon Oct  5 18:08:54 UTC 2020
New revision: 366452
URL: https://svnweb.freebsd.org/changeset/base/366452

Log:
  Merge commit 0fac1c191 from llvm git (by Craig Topper):

    [X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when
    avx/avx512 are enabled and type is 256 or 512 bits

    gcc supports selecting ymm0/zmm0 for the Yz constraint when used with
    256 or 512 bit vector types.

    Fixes PR45806

    Differential Revision: https://reviews.llvm.org/D79448

  This should fix 'fatal error: error in backend: Cannot select' errors if
  assertions are disabled, or 'Assertion failed: (isVector() && "Invalid
  vector type!"), function getVectorNumElements, file
  /usr/src/contrib/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h,
  line 276.', when building the audio/lsp-plugins-lv2 port.

  Direct commit to stable/{11,12} since head has clang 11.0.0, which
  already includes this fix.

  Reported by:  yuri
  PR:           232911

Changes:
  stable/11/contrib/llvm-project/clang/lib/Basic/Targets/X86.cpp
  stable/11/contrib/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp
  stable/12/contrib/llvm-project/clang/lib/Basic/Targets/X86.cpp
  stable/12/contrib/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232911-29464-H9HarKrUub>