]> granicus.if.org Git - llvm/commit
GlobalISel: cache pointer sizes in LLT
authorTim Northover <tnorthover@apple.com>
Thu, 15 Sep 2016 09:20:34 +0000 (09:20 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 15 Sep 2016 09:20:34 +0000 (09:20 +0000)
commitcdce758a72910e39857033a0beacacbbcd130a76
tree0cb2af60c92f8d48dfe1aff35482b2a4629703d2
parent4cb35092d02d68bc5c61f81098d9fd3065688f2e
GlobalISel: cache pointer sizes in LLT

Otherwise everything that needs to work out what size they are has to keep a
DataLayout handy, which is a bit silly and very annoying.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281597 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LowLevelType.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/LowLevelType.cpp
lib/CodeGen/MIRParser/MIParser.cpp
lib/Target/AArch64/AArch64InstructionSelector.cpp
lib/Target/AArch64/AArch64MachineLegalizer.cpp
unittests/CodeGen/GlobalISel/MachineLegalizerTest.cpp
unittests/CodeGen/LowLevelTypeTest.cpp