commit | 18d19ca6df0dd3e33c1e4459ffe513084a7acac9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Sep 28 18:22:15 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Sep 28 18:22:15 2004 +0000 |
tree | ee75c240b91f9ba6200ef0ba56592a8a67dbb29b | |
parent | 46c4dcde4467ae2563f5f2969d23f9bb7661bf07 [diff] |
Implement X / C1 / C2 folding Implement (setcc (shl X, C1), C2) folding. The second one occurs several dozen times in spec. The first was added just in case. :) These are tested by shift.ll:test2[12], and div.ll:test5 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16549 91177308-0d34-0410-b5e6-96231b3b80d8