[PATCH] D42683: [AggressiveInstCombine] fixed PR36134

Amjad Aboud via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 04:12:49 PST 2018


aaboud created this revision.
aaboud added reviewers: craig.topper, spatel, uabelho.

Make TruncCombine class ignore unreachable basic blocks.

This should solve PR36134 <https://bugs.llvm.org/show_bug.cgi?id=36134>.


https://reviews.llvm.org/D42683

Files:
  lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  lib/Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h
  lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  test/Transforms/AggressiveInstCombine/trunc_unreachable_bb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42683.131942.patch
Type: text/x-patch
Size: 6550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/34d85f22/attachment.bin>


More information about the llvm-commits mailing list