mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 23:21:25 +00:00
Temporarily disable vector select in the bitcode reader. The
way it handles the type of the condition is breaking plain scalar select in the case that the value is a forward-reference. llvm-svn: 55976
This commit is contained in:
1 parent
1e97901388
commit
7164e9a702
2 files changed
+2
-1
No files matched your search
@@ -1499,7 +1499,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
||||
Value *TrueVal, *FalseVal, *Cond;
|
||||
if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal) ||
|
||||
getValue(Record, OpNum, TrueVal->getType(), FalseVal) ||
|
||||
getValue(Record, OpNum, 0 /*skip type check*/, Cond))
|
||||
getValue(Record, OpNum, Type::Int1Ty, Cond))
|
||||
return Error("Invalid SELECT record");
|
||||
|
||||
// select condition can be either i1 or [N x i1]
|
||||
|
||||
Reference in new issue
Block a user