FailedChanges

Summary

  1. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  2. [hwasan] Remove system allocator fallback. (details)
  3. [AMDGPU] move PHI nodes to AGPR class (details)
  4. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  5. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  6. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  7. [profile] Do not cache __llvm_profile_get_filename result (details)
Commit 8c8ec1f6868bd0f96801fabc55ea395d9d171f06 by wmi
[SampleFDO] Add profile remapping support for profile on-demand loading
used by ExtBinary format profile
Profile on-demand loading was added for ExtBinary format profile in
rL374233, but currently profile on-demand loading doesn't work well with
profile remapping. The patch adds the support.
Suppose a function in the current module has outline instance in the
profile. The function name in the module is different from the name of
the outline instance, but remapper knows the two names are equal. When
loading profile on-demand, the outline instance has to be loaded with
remapper's help.
At the same time SampleProfileReaderItaniumRemapper is changed from a
proxy of SampleProfileReader to a helper member in SampleProfileReader.
Differential Revision: https://reviews.llvm.org/D68901
llvm-svn: 375295
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
Commit 0b7f320c3acb4ed75e5b3acf3460176b5b20b1aa by eugeni.stepanov
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition,
made possible by a non-standard feature of the Android dynamic loader.
Reviewers: pcc, mmalcomson
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69199
llvm-svn: 375296
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
Commit 0fab220eb5882ef451d039d5251a0a1298121f63 by Stanislav.Mekhanoshin
[AMDGPU] move PHI nodes to AGPR class
If all uses of a PHI are in AGPR register class we should avoid unneeded
copies via VGPRs.
Differential Revision: https://reviews.llvm.org/D69200
llvm-svn: 375297
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
Commit 33b758d2af312d02f2b5ef6915e62c6bb06e944e by peter
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on
__hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
llvm-svn: 375298
The file was modifiedcompiler-rt/lib/hwasan/hwasan_exceptions.cpp
Commit 3b113a2be6dc9a614bd5c95138a6c34d44fe67d9 by peter
gn build: Build compiler-rt code with -fvisibility=hidden.
This matches the CMake build.
Differential Revision: https://reviews.llvm.org/D69202
llvm-svn: 375299
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit d4274f0174ff152490195fa2a65e4087deae3dd4 by Matthew.Arsenault
LiveIntervals: Fix handleMoveUp with subreg def moving across a def
If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point of
the moved interval ended too early and missed the use from theh other
lanes in the subreg def.
llvm-svn: 375300
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was modifiedclang/test/Driver/darwin-ld.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test