Change m_ConstantInt and m_SelectCst to take their constant integers
authorChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 23:53:12 +0000 (23:53 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 23:53:12 +0000 (23:53 +0000)
commit159c35b3ee500b521d682cf585e61dea2858d0dc
tree7e4fe7adb82673bbce6c905dc1e0fcc8f9b1e7a0
parent06ebbcc71de34fdbf6e652b2b48a2d50b6331ddc
Change m_ConstantInt and m_SelectCst to take their constant integers
as template arguments instead of as instance variables, exposing more
optimization opportunities to the compiler earlier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61776 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/PatternMatch.h
lib/Transforms/Scalar/InstructionCombining.cpp