OSDN Git Service

[AggressiveInstCombine] avoid crashing on unsimplified code (PR37446)
authorSanjay Patel <spatel@rotateright.com>
Mon, 14 May 2018 13:43:32 +0000 (13:43 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 14 May 2018 13:43:32 +0000 (13:43 +0000)
commitd79603100178cb8ca0189c1ba215e3ef534c594e
tree4d899f15a5eee0bcfc8b8b70f4e93734b9b786bb
parent65e6faea890e0264312b3ca3b735148b24b25036
[AggressiveInstCombine] avoid crashing on unsimplified code (PR37446)

This bug:
https://bugs.llvm.org/show_bug.cgi?id=37446
...raises another question: why do we run aggressive-instcombine before
regular instcombine?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332243 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
test/Transforms/AggressiveInstCombine/masked-cmp.ll