summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel
diff options
context:
space:
mode:
authorAditya Nandakumar <aditya_nandakumar@apple.com>2018-09-28 15:08:49 +0000
committerAditya Nandakumar <aditya_nandakumar@apple.com>2018-09-28 15:08:49 +0000
commit1cbb057142c74be109693adf36654a9ee0bae23d (patch)
tree0e30995b85292107d33bcf8ccd5d8432bff35135 /llvm/lib/CodeGen/GlobalISel
parent122dbb5dceeb9c13026cb3dd4064b91c554f919f (diff)
downloadbcm5719-llvm-1cbb057142c74be109693adf36654a9ee0bae23d.tar.gz
bcm5719-llvm-1cbb057142c74be109693adf36654a9ee0bae23d.zip
[GISel]: Remove an incorrect assert in CallLowering
https://reviews.llvm.org/D51147 Asserting if any extend of vectors should be up to the target's legalizer/target specific code not in CallLowering. reviewed by : dsanders. llvm-svn: 343325
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/CallLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
index 07de31bec66..da972eae756 100644
--- a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
@@ -164,7 +164,6 @@ unsigned CallLowering::ValueHandler::extendRegister(unsigned ValReg,
// nop in big-endian situations.
return ValReg;
case CCValAssign::AExt: {
- assert(!VA.getLocVT().isVector() && "unexpected vector extend");
auto MIB = MIRBuilder.buildAnyExt(LocTy, ValReg);
return MIB->getOperand(0).getReg();
}
OpenPOWER on IntegriCloud