[all-commits] [llvm/llvm-project] 40d5ee: Revert "Use VersionTuple for parsing versions in T...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 30 09:36:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40d5eeac6cd89a2360c3ba997cbaa816abca828c
      https://github.com/llvm/llvm-project/commit/40d5eeac6cd89a2360c3ba997cbaa816abca828c
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/test/Sema/attr-availability-android.c
    M clang/test/Sema/attr-availability.c
    M clang/test/Sema/availability-guard-format.mm
    M clang/test/SemaObjC/attr-availability.m
    M clang/test/SemaObjC/property-deprecated-warning.m
    M clang/test/SemaObjC/unguarded-availability-maccatalyst.m
    M clang/test/SemaObjC/unguarded-availability.m
    M llvm/include/llvm/ADT/Triple.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/lib/Target/X86/X86Subtarget.h
    M llvm/unittests/ADT/TripleTest.cpp

  Log Message:
  -----------
  Revert "Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible."

This reverts commit 1e8286467036d8ef1a972de723f805a4981b2692.

llvm/test/Transforms/LoopStrengthReduce/X86/2009-11-10-LSRCrash.ll fails
with assertion failure:

llc: /home/nikic/llvm-project/llvm/include/llvm/ADT/Optional.h:196: T& llvm::optional_detail::OptionalStorage<T, true>::getValue() & [with T = unsigned int]: Assertion `hasVal' failed.
...
 #8 0x00005633843af5cb llvm::MCStreamer::emitVersionForTarget(llvm::Triple const&, llvm::VersionTuple const&)
 #9 0x0000563383b47f14 llvm::AsmPrinter::doInitialization(llvm::Module&)




More information about the All-commits mailing list