aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineConstantPool.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-03-24 06:20:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-03-24 06:20:03 +0000
commitd700617193f3d11deb83cd56c4ababbc8e0ea19f (patch)
treeaffaf5598ec6fd6ac08ba7f283bf9ec9a6d70667 /include/llvm/CodeGen/MachineConstantPool.h
parente1db1b8d4ee9c7584a2c1b3c79b0c01e468398dc (diff)
Nasty bug in ARMBaseInstrInfo::produceSameValue(). The MachineConstantPoolEntry
entries being compared may not be ARMConstantPoolValue. Without checking whether they are ARMConstantPoolValue first, and if the stars and moons are aligned properly, the equality test may return true (when the first few words of two Constants' values happen to be identical) and very bad things can happen. rdar://9125354 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineConstantPool.h')
0 files changed, 0 insertions, 0 deletions