FailedChanges

Summary

  1. Populate CUDA flags on FreeBSD too, as many other toolchains do. (details)
  2. [ThinLTO] Avoid extra index lookup during promotion (details)
  3. [profile] Support online merging with continuous sync mode (details)
  4. [macho] Allow CPUSubtype to be adjusted before writing it to a file (details)
  5. [macho] Allow CPUSubtype to contribute to architecture identification (details)
  6. Fix iOSDarwin()'s doc comment. (details)
  7. [libc++] Separate -include and path to the site config file (details)
  8. [lldb] [unittest] Reenable MainLoopTest.DetectsEOF on NetBSD (details)
  9. [lldb] [unittest] Skip TestStopReplyContainsThreadPcs on NetBSD (details)
  10. [lldb] [test] Mark segv-related tests XFAIL on NetBSD (details)
  11. [lldb] [test] XFAIL more lldb-server tests on NetBSD (details)
  12. [NFC] Fix 'target' condition in checkTargetFeatures (details)
  13. [PowerPC] Improve float vector gather codegen (details)
  14. [SLP] reduce duplicated check lines in tests; NFC (details)
Commit ee31adb7fa42f5b601d9612f23755b4604f83cac by dimitry
Populate CUDA flags on FreeBSD too, as many other toolchains do.
Summary: This allows `clang` to be used to compile CUDA programs.
Compiled simple helloworld.cu with this.
Reviewers: dim, emaste, tra, yaxunl, ABataev
Reviewed By: tra
Subscribers: dim, emaste, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69990
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.h
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
The file was addedclang/test/Driver/cuda-options-freebsd.cu
Commit cc1b0bc24d2703087d80e4f4dc0560879733299a by tejohnson
[ThinLTO] Avoid extra index lookup during promotion
Summary: Pass down the already accessed ValueInfo to
shouldPromoteLocalToGlobal, to avoid an unnecessary extra index lookup.
Add some assertion checking to confirm we have a non-empty VI when
expected.
Also some misc cleanup, merging the two versions of
doImportAsDefinition, since one was only called by the other, and
unnecessarily passed in a member variable.
Reviewers: steven_wu, pcc, evgeny777
Reviewed By: evgeny777
Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, arphaman,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70337
The file was modifiedllvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
Commit 2492b5a12550f7c4bb428c3761392f2ce47fa269 by Vedant Kumar
[profile] Support online merging with continuous sync mode
Make it possible to use online profile merging ("%m" mode) with
continuous sync ("%c" mode).
To implement this, the merged profile is locked in the runtime
initialization step and either a) filled out for the first time or b)
checked for compatibility. Then, the profile can simply be mmap()'d with
MAP_SHARED set. With the mmap() in place, counter updates from every
process which uses an image are mapped onto the same set of physical
pages assigned by the filesystem cache. After the mmap() is set up, the
profile is unlocked.
Differential Revision: https://reviews.llvm.org/D69586
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingPort.h
The file was addedcompiler-rt/test/profile/ContinuousSyncMode/online-merging.c
The file was modifiedclang/docs/SourceBasedCodeCoverage.rst
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit c941db5b1acdc45fc1c50762684f1014e981abc6 by daniel_l_sanders
[macho] Allow CPUSubtype to be adjusted before writing it to a file
Summary: It's not always possible for a target to provide a MachO
CPUSubtype up front as is required by the current implementation.
Sometimes you need more information like the particular CPU
implementation you are targeting.
Give MCMachObjectTargetWriter subclasses the opportunity to modify the
CPUSubtype after the MCMachObjectTargetWriter is created but before the
object starts being written. Typically this would be done in response to
instructions from a TargetStreamer.
Reviewers: pete
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70344
The file was modifiedllvm/include/llvm/MC/MCMachObjectWriter.h
Commit 17919017878e9abda5bb33a38199c593b151dcd7 by daniel_l_sanders
[macho] Allow CPUSubtype to contribute to architecture identification
Summary: Sometimes the CPUSubtype determines the Triple::ArchType that
must be used. Add the subtype to the API's to allow targets that need
this to correctly identify the contents of the binary.
Reviewers: pete
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70345
The file was modifiedllvm/include/llvm/Object/MachO.h
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
Commit 9b36f2cfd98d56531b95c1f62976c01b65a0c18b by cyndy_ishida
Fix iOSDarwin()'s doc comment.
Summary: I saw the doc comment using the Option + Click in Xcode and I
was confused by the fact that tvOS wasn't listed. The method definition
also doesn't make it clear that the check for tvOS is taking place as
the tvOS check is hidden in the isiOS() check.
Reviewers: rjmccall
Reviewed By: rjmccall
Subscribers: dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70364
This patch is from Varun Gandhi <varun_gandhi@apple.com>
The file was modifiedllvm/include/llvm/ADT/Triple.h
Commit 991831268285b955dcb459a1ea2a5f4507a33729 by Louis Dionne
[libc++] Separate -include and path to the site config file
This apparently breaks weird use cases where the build directory is on a
separate drive. Someone reported that failure to me privately.
I can't remember of a reason for collating the two arguments in the
first place, so I don't think this should break anything.
The file was modifiedlibcxx/CMakeLists.txt
Commit d82dd6ac9a8500448ebfdc0c77e362e496b80e2f by mgorny
[lldb] [unittest] Reenable MainLoopTest.DetectsEOF on NetBSD
The underlying issue is already fixed in the NetBSD kernel for some
time, so we can finally reenable the test.
The file was modifiedlldb/unittests/Host/MainLoopTest.cpp
Commit b59af82805cf53d59fd83fe02761160dfc2ac6a2 by mgorny
[lldb] [unittest] Skip TestStopReplyContainsThreadPcs on NetBSD
The file was modifiedlldb/unittests/tools/lldb-server/tests/ThreadIdsInJstopinfoTest.cpp
Commit 4539a2d20c5c220dd29273b6cfec3ad0b25c5d13 by mgorny
[lldb] [test] Mark segv-related tests XFAIL on NetBSD
There seems to be a regression in the kernel causing those tests to
fail.  Mark them XFAIL, to be addressed later.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-restarts/TestCallThatRestarts.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashingStep.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
Commit 085486779890e394dd42447c7c5b0fb36a79ea2b by mgorny
[lldb] [test] XFAIL more lldb-server tests on NetBSD
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
Commit 0213adde218530bc31e5c4e50b49704c6bb2f2e9 by erich.keane
[NFC] Fix 'target' condition in checkTargetFeatures
checkTargetFeatures was incorrectly checking for cpu_specific instead of
just 'target'. While this function was never called in that situation,
it seemed correct to fix the condition.  Additionally, multiversion
functions can never be always_inline, but if any function accidentially
ended up here we shouldn't diagnose.
Note that the adding of target-features to the list is unnecessary since
the getFunctionFeatureMap actually considers attribute target, however
adding it results in significantly better error messages by putting the
'target' features first (and thus first to fail). Otherwise, the error
message would be the first feature 'implied' by the target attribute,
and not necessarily the feature listed in the attribute itself.
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
Commit 6512473ceef277705a9d0ac7824d319186e802d9 by stefanp
[PowerPC] Improve float vector gather codegen
This patch aims to improve the code generation for float vector gather
on POWER9. Patterns have been implemented to utilize instructions that
deliver improved performance.
Patch by: Kamau Bridgeman
Differential Revision: https://reviews.llvm.org/D62908
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/test/CodeGen/PowerPC/float-vector-gather.ll
Commit b763924bd0f5fe1334bbcdcae4ce07ef40b4dac2 by spatel
[SLP] reduce duplicated check lines in tests; NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll