llvm-mirror/test
George Burgess IV 4f77a99095 Reland r301880(!): "[InstSimplify] Handle selects of GEPs with 0 offset"
I was reminded today that this patch got reverted in r301885. I can no
longer reproduce the failure that caused the revert locally (...almost
one year later), and the patch applied pretty cleanly, so I guess we'll
see if the bots still get angry about it.

The original breakage was InstSimplify complaining (in "assertion
failed" form) about getting passed some crazy IR when running `ninja
check-sanitizer`. I'm unable to find traces of what, exactly, said crazy
IR was. I suppose we'll find out pretty soon if that's still the case.
:)

Original commit:

  Author: gbiv
  Date: Mon May  1 18:12:08 2017
  New Revision: 301880

  URL: http://llvm.org/viewvc/llvm-project?rev=301880&view=rev
  Log:
  [InstSimplify] Handle selects of GEPs with 0 offset

  In particular (since it wouldn't fit nicely in the summary):
  (select (icmp eq V 0) P (getelementptr P V)) -> (getelementptr P V)

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

llvm-svn: 330667
2018-04-24 00:25:01 +00:00
..
Analysis [AArch64] Add cost model test case for transpose 2018-04-23 18:21:29 +00:00
Assembler
Bindings [LLVM-C] DIBuilder Bindings For Variable Expressions 2018-04-23 22:31:49 +00:00
Bitcode [bcanalyzer] Recognize more stream types 2018-04-21 23:52:04 +00:00
BugPoint
CodeGen [GlobalISel][Legalizer] Look thro copies while combining G_UNMERGE's 2018-04-23 22:28:36 +00:00
DebugInfo [DEBUGINFO, NVPTX] Add the test for the debug info of the local 2018-04-23 14:00:53 +00:00
Examples
ExecutionEngine [RuntimeDyld][PowerPC] Fix a newly added test in r329355 2018-04-09 14:29:23 +00:00
Feature
FileCheck
Instrumentation [HWASan] Introduce non-zero based and dynamic shadow memory (LLVM). 2018-04-20 20:04:04 +00:00
Integer
JitListener
Linker [llvm-link] Use WithColor for printing errors 2018-04-18 14:41:47 +00:00
LTO Object: Don't mark alias unconditionally defined 2018-04-10 00:53:16 +00:00
MC [X86] Revert r330638 - accidental commit 2018-04-23 20:05:51 +00:00
Object Disable a test using environment variables that requires a real shell 2018-04-03 18:19:52 +00:00
ObjectYAML [WebAssembly] libObject: Don't include the name the size of custom sections 2018-04-12 20:31:12 +00:00
Other [lit] Fix several Python 2/3 compatibility issues and tests 2018-04-07 00:21:28 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen TableGen: Support Intrinsic values in SearchableTable 2018-04-01 17:08:58 +00:00
ThinLTO/X86 [lit] Fix several Python 2/3 compatibility issues and tests 2018-04-07 00:21:28 +00:00
tools Fix computeSymbolSizes SEGFAULT on invalid file 2018-04-23 16:08:01 +00:00
Transforms Reland r301880(!): "[InstSimplify] Handle selects of GEPs with 0 offset" 2018-04-24 00:25:01 +00:00
Unit
Verifier Tweak an assert message in the verifier 2018-04-06 10:20:19 +00:00
YAMLParser
.clang-format
CMakeLists.txt Sort a target list a bit better. 2018-04-23 14:28:49 +00:00
lit.cfg.py Enable debug fission for thinLTO linked via gold-plugin 2018-04-13 05:03:28 +00:00
lit.site.cfg.py.in
TestRunner.sh