Go to file
Sebastian Pop 440f15b7fc GVN-hoist: only hoist relevant scalar instructions
Without this patch, GVN-hoist would think that a branch instruction is a scalar instruction
and would try to value number it. The patch filters out all such kind of irrelevant instructions.

A bit frustrating is that there is no easy way to discard all those very infrequent instructions,
a bit like isa<TerminatorInst> that stands for a large family of instructions. I'm thinking that
checking for those very infrequent other instructions would cost us more in compilation time
than just letting those instructions getting numbered, so I'm still thinking that a simpler check:

  if (isa<TerminatorInst>(I))
    return false;

is better than listing all the other less frequent instructions.

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

llvm-svn: 282160
2016-09-22 14:45:40 +00:00
clang Fix Wbitfield-constant-conversion false positives 2016-09-22 14:13:46 +00:00
clang-tools-extra [clang-tidy] Add doc for `explain-config` option. 2016-09-22 14:36:43 +00:00
compiler-rt tsan: fix bug introduced in 282152 2016-09-22 14:33:43 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Fix failure on 03 bot 2016-09-22 03:25:22 +00:00
libcxxabi [libcxxabi] cleanup the use of LIBCXXABI_HAS_NO_THREADS macro (NFC) 2016-09-21 09:09:32 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld Handle empty sections with symbol assignments. 2016-09-22 14:40:50 +00:00
lldb Fix parsing expressions to evaluate with spaces and optional args (MI) 2016-09-22 05:08:41 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm GVN-hoist: only hoist relevant scalar instructions 2016-09-22 14:45:40 +00:00
openmp Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
parallel-libs [SE] Fix config bug with CUDA tests 2016-09-15 20:26:28 +00:00
polly [ScopDetection] Remove redundant checks for endless loops 2016-09-20 17:05:22 +00:00