OSDN Git Service

Allow constants of different types to share constant pool entries
authorDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 01:12:16 +0000 (01:12 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 01:12:16 +0000 (01:12 +0000)
commit83f6120c9a1fe758b2502b060cd7ae9a981ecc39
treeae5144ba98c376557dbaf905aca086bcc1bbf04c
parentc5a75523eff46fe3880b94ae0fd22a1e01c27f28
Allow constants of different types to share constant pool entries
if they have compatible encodings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineFunction.cpp
test/CodeGen/X86/constant-pool-sharing.ll [new file with mode: 0644]