commit | b109b5c148ff60ea8f1105aadb2c31761ca3d445 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Dec 21 06:03:05 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Dec 21 06:03:05 2009 +0000 |
tree | cb57a775835e875b99eea863160b22b8f87effa7 | |
parent | a278d4a1f72efc8cadf7e96ef1b66b481a903749 [diff] |
give instcombine some helper functions for matching MIN and MAX, and implement some optimizations for MIN(MIN()) and MAX(MAX()) and MIN(MAX()) etc. This substantially improves the code in PR5822 but doesn't kick in much elsewhere. 2 max's were optimized in pairlocalalign and one in smg2000. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91814 91177308-0d34-0410-b5e6-96231b3b80d8