commit | 484d3cf0e37beac7deed68a4b2c14c0cda09729c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Apr 24 06:59:08 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Apr 24 06:59:08 2005 +0000 |
tree | 207f7ae3eb304c96b655b2aed12ce956b4115498 | |
parent | 6f8a2461a82004cc8875bc4d682a7de6c742e8e5 [diff] |
Use getPrimitiveSizeInBits() instead of getPrimitiveSize()*8 Completely rework the 'setcc (cast x to larger), y' code. This code has the advantage of implementing setcc.ll:test19 (being more general than the previous code) and being correct in all cases. This allows us to unxfail 2004-11-27-SetCCForCastLargerAndConstant.ll, and close PR454. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21491 91177308-0d34-0410-b5e6-96231b3b80d8