OSDN Git Service

LowerTypeTests: Compute SizeM1BitWidth in exportTypeId. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 20 Jan 2017 20:57:40 +0000 (20:57 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 20 Jan 2017 20:57:40 +0000 (20:57 +0000)
commitd7767b21fb30244448df9ffcbff9a3075b2f674b
tree38c4ee735039bb7829aff332ae56d35710944c62
parent74041145bc3e45d8cb4a7a451b607a715bafb044
LowerTypeTests: Compute SizeM1BitWidth in exportTypeId. NFCI.

This avoids needing to store it in a separate field in TypeIdLowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/LowerTypeTests.cpp