Steven Wu a511846bdf Fix another infinite loop in InstCombine
Summary:
InstCombine infinite-loops for the testcase added
It is because InstCombine is generating instructions that can be
optimized by itself. Fix by not optimizing frem if the optimized
type is the same as original type.
rdar://problem/19150820

Reviewers: majnemer

Differential Revision: http://reviews.llvm.org/D6634

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224097 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-12 04:34:07 +00:00
..
2014-10-16 20:00:02 +00:00
2014-12-09 18:38:53 +00:00
2014-11-03 23:19:16 +00:00
2014-09-12 17:55:16 +00:00
2014-10-16 20:00:02 +00:00
2014-11-17 02:28:27 +00:00