[PATCH] Select Elimination in InstCombine

Gerolf Hoflehner ghoflehner at apple.com
Wed Sep 10 14:28:20 PDT 2014


Updates:
- Follow up on all your great reviews
- Note: patch still assumes that it is OK to enable DT by default
- New change in pr12338: when DT is default all arithmetic instructions in
that test get removed. This is fine. The purpose of the test is to protect
against an inifinite loop in the instruction combiner.

http://reviews.llvm.org/D5258

Files:
  lib/Transforms/InstCombine/InstCombine.h
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/pr12338.ll
  test/Transforms/InstCombine/select-cmp-br.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5258.13561.patch
Type: text/x-patch
Size: 12831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140910/79d90615/attachment.bin>


More information about the llvm-commits mailing list