fix SREM/UREM, which gave incorrect results for x%y if x was zero. This is
authorDuraid Madina <duraid@octopus.com.au>
Mon, 4 Apr 2005 05:05:52 +0000 (05:05 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Mon, 4 Apr 2005 05:05:52 +0000 (05:05 +0000)
commit6e02e6842a13b4dbd5848fc62d76ff24f36b43e8
tree1243f424842bcf0874ed0da013440b530043039b
parent09c61b9c1984c970a01cc1c8b5816561ab00654a
fix SREM/UREM, which gave incorrect results for x%y if x was zero. This is
an ugly hack, but it seems to work. I should fix this properly and add a test
as well.

fixes multisource/obsequi (maybe others)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21075 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/IA64/IA64ISelPattern.cpp