Go to file
Nicolai Haehnle 28212cc689 AMDGPU: Remove PHI loop condition optimization
Summary:
The optimization to early break out of loops if all threads are dead was
never fully implemented.

But the PHI node analyzing is actually causing a number of problems, so
remove all the extra code for it.

(This does actually regress code quality in a few places because it
 ends up relying more heavily on phi's of i1, which we don't do a
 great job with. However, since it fixes real bugs in the wild, we
 should take this change. I have some prototype changes to improve
 i1 lowering in general -- not just for control flow -- which should
 help recover the code quality, I just need to make those changes
 fit for general consumption. -- Nicolai)

Change-Id: I6fc6c6c8961857ac6009fcfb9f7e5e48dc23fbb1
Patch-by: Christian König <christian.koenig@amd.com>

Reviewers: arsenm, rampitec, tpr

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, t-tye, llvm-commits

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

llvm-svn: 345718
2018-10-31 13:26:48 +00:00
clang Follow-up to r345699: Call CheckStaticLocalForDllExport later for templates 2018-10-31 10:34:46 +00:00
clang-tools-extra [clang-tidy] Remove false decoupling in ClangTidyContext. NFC 2018-10-31 13:08:19 +00:00
compiler-rt Update generate_netbsd_ioctls.awk for NetBSD 8.99.25 2018-10-31 12:52:08 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx Correct ABI list change wrongly advertised as being in the 7.0 release 2018-10-30 23:24:02 +00:00
libcxxabi [libc++abi] Provide __cxa_thread_atexit on Fuchsia 2018-10-29 20:20:26 +00:00
libunwind [CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON. 2018-10-08 18:35:00 +00:00
lld [ELF] Fallback to sh_link=0 if neither .dynsym nor .symtab exists 2018-10-30 20:54:54 +00:00
lldb [lldb] Fix race condition in framework installation 2018-10-31 10:41:12 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm AMDGPU: Remove PHI loop condition optimization 2018-10-31 13:26:48 +00:00
openmp [LIBOMPTARGET] Add support for mapping of lambda captures. 2018-10-30 15:42:12 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [TI removal] Generically discuss terminators rather than use the soon to 2018-10-18 07:43:30 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.