]> granicus.if.org Git - llvm/commit
IR: Change the Type::get{Array,Vector,Pointer}ElementType() functions to perform...
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 13 Nov 2016 06:58:45 +0000 (06:58 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sun, 13 Nov 2016 06:58:45 +0000 (06:58 +0000)
commite1f5c817e89a5965094d07d563585642bfe57d42
treee3625326c9ab3b2a04417ba082c6be1a333510cc
parent0177b1eaec142d2fe989fed91d2d4d8b38330499
IR: Change the Type::get{Array,Vector,Pointer}ElementType() functions to perform the correct type assertion.

Previously we were only asserting that the type was a sequential type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286749 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Type.h
lib/IR/Instructions.cpp