commit | e9936d14b899cc17572bfd6165dd6a9aa0ff89b8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Oct 22 18:50:15 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Oct 22 18:50:15 2005 +0000 |
tree | 7a893ef43f59b10fdbf37d7b6c3ea78d1ba50221 | |
parent | 5476b9bfced0413cc576bf49f539193c702b9574 [diff] |
BuildSDIV and BuildUDIV only work for i32/i64, but they don't check that the input is that type, this caused a failure on gs on X86 last night. Move the hard checks into Build[US]Div since that is where decisions like this should be made. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23881 91177308-0d34-0410-b5e6-96231b3b80d8