Teach CodeGen's version of computeMaskedBits to understand the range metadata.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Mar 2012 18:14:00 +0000 (18:14 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Mar 2012 18:14:00 +0000 (18:14 +0000)
commit95d594cac3737ae1594a391276942a443cac426b
tree169dda5061241d6c695ce797a8d8f84887d5b43f
parent5b00ceaeeabff8c25abb09926343c3fcb06053d8
Teach CodeGen's version of computeMaskedBits to understand the range metadata.
This is the CodeGen equivalent of r153747. I tested that there is not noticeable
performance difference with any combination of -O0/-O2 /-g when compiling
gcc as a single compilation unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153817 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineMemOperand.h
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
lib/Analysis/ValueTracking.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/X86/pr12360.ll [new file with mode: 0644]