SuccessChanges

Summary

  1. Non-functional change. Fix previous patch D34784.
  2. Add some missing -no-canonical-prefixes.
  3. AMDGPU: Remove -mcpu=SI Leftover from before amdgcn/r600 split.
  4. [tsan] Fix format string in WriteMemoryProfile The current format string is broken and fails to parse. Differential Revision: https://reviews.llvm.org/D36192
  5. AMDGPU: Remove redundant opt level check addOptimizedRegAlloc isn't used for -O0 already.
  6. AMDGPU: Remove FixControlFlowLiveIntervals pass This hasn't done anything in a long time. This was running after the the control flow pseudos were expanded, so this would never find them. The control flow pseudo expansion was moved to solve the problem this pass was supposed to solve in the first place, except handling it earlier also fixes it for fast regalloc which doesn't use LiveIntervals. Noticed by checking LCOV reports.
  7. [asan] Make dump_registers.cc more stable Differential Revision: https://reviews.llvm.org/D36231
  8. [InstCombine] Support (X | C1) & C2 --> (X & C2^(C1&C2)) | (C1&C2) for vector splats Note the original code I deleted incorrectly listed this as (X | C1) & C2 --> (X & C2^(C1&C2)) | C1 Which is only valid if C1 is a subset of C2. This relied on SimplifyDemandedBits to remove any extra bits from C1 before we got to that code. My new implementation avoids relying on that behavior so that it can be naively verified with alive. Differential Revision: https://reviews.llvm.org/D36384
  9. [sanitizer] Remove use of task_for_pid from sanitizer_stoptheworld_mac.cc Using task_for_pid to get the "self" task is not necessary, and it can fail (e.g. for sandboxed processes). Let's just use mach_task_self(). Differential Revision: https://reviews.llvm.org/D36284
Revision 310282 by gbercea:
Non-functional change. Fix previous patch D34784.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Driver/Compilation.cppclang.src/lib/Driver/Compilation.cpp
Revision 310278 by d0k:
Add some missing -no-canonical-prefixes.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Driver/openmp-offload.cclang.src/test/Driver/openmp-offload.c
Revision 310277 by arsenm:
AMDGPU: Remove -mcpu=SI

Leftover from before amdgcn/r600 split.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/Processors.tdllvm.src/lib/Target/AMDGPU/Processors.td
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/smrd.llllvm.src/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/basic-loop.llllvm.src/test/CodeGen/AMDGPU/basic-loop.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/empty-function.llllvm.src/test/CodeGen/AMDGPU/empty-function.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fma.llllvm.src/test/CodeGen/AMDGPU/fma.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fminnum.f64.llllvm.src/test/CodeGen/AMDGPU/fminnum.f64.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/ftrunc.f64.llllvm.src/test/CodeGen/AMDGPU/ftrunc.f64.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/inline-calls.llllvm.src/test/CodeGen/AMDGPU/inline-calls.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/insert_subreg.llllvm.src/test/CodeGen/AMDGPU/insert_subreg.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/large-constant-initializer.llllvm.src/test/CodeGen/AMDGPU/large-constant-initializer.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/lds-initializer.llllvm.src/test/CodeGen/AMDGPU/lds-initializer.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/lds-zero-initializer.llllvm.src/test/CodeGen/AMDGPU/lds-zero-initializer.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/llvm.log2.llllvm.src/test/CodeGen/AMDGPU/llvm.log2.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/llvm.rint.f64.llllvm.src/test/CodeGen/AMDGPU/llvm.rint.f64.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/loop-idiom.llllvm.src/test/CodeGen/AMDGPU/loop-idiom.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/missing-store.llllvm.src/test/CodeGen/AMDGPU/missing-store.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/no-initializer-constant-addrspace.llllvm.src/test/CodeGen/AMDGPU/no-initializer-constant-addrspace.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/private-memory-atomics.llllvm.src/test/CodeGen/AMDGPU/private-memory-atomics.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/saddo.llllvm.src/test/CodeGen/AMDGPU/saddo.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/select64.llllvm.src/test/CodeGen/AMDGPU/select64.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/selectcc.llllvm.src/test/CodeGen/AMDGPU/selectcc.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/srem.llllvm.src/test/CodeGen/AMDGPU/srem.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/ssubo.llllvm.src/test/CodeGen/AMDGPU/ssubo.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/store-vector-ptrs.llllvm.src/test/CodeGen/AMDGPU/store-vector-ptrs.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.llllvm.src/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/tti-unroll-prefs.llllvm.src/test/CodeGen/AMDGPU/tti-unroll-prefs.ll
The file was modified/llvm/trunk/test/MC/AMDGPU/ds-err.sllvm.src/test/MC/AMDGPU/ds-err.s
The file was modified/llvm/trunk/test/MC/AMDGPU/flat.sllvm.src/test/MC/AMDGPU/flat.s
The file was modified/llvm/trunk/test/MC/AMDGPU/mimg.sllvm.src/test/MC/AMDGPU/mimg.s
The file was modified/llvm/trunk/test/MC/AMDGPU/reg-syntax-extra.sllvm.src/test/MC/AMDGPU/reg-syntax-extra.s
The file was modified/llvm/trunk/test/MC/AMDGPU/regression/bug28165.sllvm.src/test/MC/AMDGPU/regression/bug28165.s
The file was modified/llvm/trunk/test/MC/AMDGPU/regression/bug28413.sllvm.src/test/MC/AMDGPU/regression/bug28413.s
The file was modified/llvm/trunk/test/MC/AMDGPU/regression/bug28538.sllvm.src/test/MC/AMDGPU/regression/bug28538.s
The file was modified/llvm/trunk/test/MC/AMDGPU/smrd.sllvm.src/test/MC/AMDGPU/smrd.s
The file was modified/llvm/trunk/test/MC/AMDGPU/sop2.sllvm.src/test/MC/AMDGPU/sop2.s
The file was modified/llvm/trunk/test/MC/AMDGPU/sopk.sllvm.src/test/MC/AMDGPU/sopk.s
The file was modified/llvm/trunk/test/MC/AMDGPU/sopp-err.sllvm.src/test/MC/AMDGPU/sopp-err.s
The file was modified/llvm/trunk/test/MC/AMDGPU/sym_option.sllvm.src/test/MC/AMDGPU/sym_option.s
The file was modified/llvm/trunk/test/MC/AMDGPU/trap.sllvm.src/test/MC/AMDGPU/trap.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop1.sllvm.src/test/MC/AMDGPU/vop1.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop2-err.sllvm.src/test/MC/AMDGPU/vop2-err.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop2.sllvm.src/test/MC/AMDGPU/vop2.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop3-convert.sllvm.src/test/MC/AMDGPU/vop3-convert.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop3-errs.sllvm.src/test/MC/AMDGPU/vop3-errs.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop3-vop1-nosrc.sllvm.src/test/MC/AMDGPU/vop3-vop1-nosrc.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop_dpp.sllvm.src/test/MC/AMDGPU/vop_dpp.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vop_sdwa.sllvm.src/test/MC/AMDGPU/vop_sdwa.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vopc-errs.sllvm.src/test/MC/AMDGPU/vopc-errs.s
The file was modified/llvm/trunk/test/MC/AMDGPU/vopc.sllvm.src/test/MC/AMDGPU/vopc.s
The file was modified/llvm/trunk/test/Transforms/SimplifyCFG/AMDGPU/cttz-ctlz.llllvm.src/test/Transforms/SimplifyCFG/AMDGPU/cttz-ctlz.ll
Revision 310276 by kuba.brecka:
[tsan] Fix format string in WriteMemoryProfile

The current format string is broken and fails to parse.

Differential Revision: https://reviews.llvm.org/D36192
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/tsan/rtl/tsan_platform_mac.cccompiler-rt.src/lib/tsan/rtl/tsan_platform_mac.cc
Revision 310275 by arsenm:
AMDGPU: Remove redundant opt level check

addOptimizedRegAlloc isn't used for -O0 already.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cppllvm.src/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Revision 310274 by arsenm:
AMDGPU: Remove FixControlFlowLiveIntervals pass

This hasn't done anything in a long time. This was
running after the the control flow pseudos were expanded,
so this would never find them. The control flow pseudo
expansion was moved to solve the problem this pass was
supposed to solve in the first place, except handling
it earlier also fixes it for fast regalloc which doesn't
use LiveIntervals.

Noticed by checking LCOV reports.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPU.hllvm.src/lib/Target/AMDGPU/AMDGPU.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cppllvm.src/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/CMakeLists.txtllvm.src/lib/Target/AMDGPU/CMakeLists.txt
The file was removed/llvm/trunk/lib/Target/AMDGPU/SIFixControlFlowLiveIntervals.cppllvm.src/lib/Target/AMDGPU/SIFixControlFlowLiveIntervals.cpp
Revision 310273 by kuba.brecka:
[asan] Make dump_registers.cc more stable

Differential Revision: https://reviews.llvm.org/D36231
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cccompiler-rt.src/test/asan/TestCases/Darwin/dump_registers.cc
Revision 310272 by ctopper:
[InstCombine] Support (X | C1) & C2 --> (X & C2^(C1&C2)) | (C1&C2) for vector splats

Note the original code I deleted incorrectly listed this as (X | C1) & C2 --> (X & C2^(C1&C2)) | C1 Which is only valid if C1 is a subset of C2. This relied on SimplifyDemandedBits to remove any extra bits from C1 before we got to that code.

My new implementation avoids relying on that behavior so that it can be naively verified with alive.

Differential Revision: https://reviews.llvm.org/D36384
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cppllvm.src/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/or.llllvm.src/test/Transforms/InstCombine/or.ll
Revision 310271 by kuba.brecka:
[sanitizer] Remove use of task_for_pid from sanitizer_stoptheworld_mac.cc

Using task_for_pid to get the "self" task is not necessary, and it can fail (e.g. for sandboxed processes). Let's just use mach_task_self().

Differential Revision: https://reviews.llvm.org/D36284
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cccompiler-rt.src/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc