Go to file
Stanislav Mekhanoshin 6071e1aa58 [AMDGPU] Simplify negated condition
Optimize sequence:

  %sel = V_CNDMASK_B32_e64 0, 1, %cc
  %cmp = V_CMP_NE_U32 1, %1
  $vcc = S_AND_B64 $exec, %cmp
  S_CBRANCH_VCC[N]Z
=>
  $vcc = S_ANDN2_B64 $exec, %cc
  S_CBRANCH_VCC[N]Z

It is the negation pattern inserted by DAGCombiner::visitBRCOND() in the
rebuildSetCC().

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

llvm-svn: 349003
2018-12-13 03:17:40 +00:00
clang Remove unused Args parameter from EmitFunctionBody, NFC 2018-12-13 01:33:20 +00:00
clang-tools-extra Add explicit dependency on clangSerialization after rC348911 2018-12-12 08:25:16 +00:00
compiler-rt [hwasan] Link ubsan_cxx to shared runtime library. 2018-12-12 22:56:00 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add cmake build 2018-11-27 16:07:21 +00:00
libcxx [libcxx] Add assertion in deque::pop_back when popping from an empty deque 2018-12-12 23:58:25 +00:00
libcxxabi [libcxx] Remove bad_array_length 2018-11-29 19:44:57 +00:00
libunwind Avoid code duplication in the SEH version of UnwindCursor::getRegisterName. NFC. 2018-12-12 22:24:42 +00:00
lld [WebAssembly] Add "needed" list to dylink section 2018-12-12 23:44:59 +00:00
lldb [NFC] Small code cleanups in utility. 2018-12-13 00:15:17 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [AMDGPU] Simplify negated condition 2018-12-13 03:17:40 +00:00
openmp [runtime] Disable KMP_HAVE_QUAD on NetBSD gcc 2018-12-11 19:02:14 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +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.