Fix PowerPC/2006-05-12-rlwimi-crash.ll
authorChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 16:29:37 +0000 (16:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 16:29:37 +0000 (16:29 +0000)
commit0949ed5412c0902113aaefe106fed5b383fcc696
tree179d8be86bfed443117139570d1a524ebb21d99f
parent83cdf40144f875592a8dd67299b7f806b5c3af4d
Fix PowerPC/2006-05-12-rlwimi-crash.ll

Nate, please verify that if InsertMask is 0, rlwimi shouldn't be used.
This fixes the crash and causes no PPC testsuite regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28243 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp