mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 16:05:54 +00:00
Make GCC happy again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54c10c042d
commit
1dd3d84b80
@ -997,8 +997,7 @@ bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI,
|
||||
SmallSetVector<BasicBlock*, 4> FailBlocks;
|
||||
if (!SafeToMergeTerminators(TI, PTI, &FailBlocks)) {
|
||||
for (auto *Succ : FailBlocks) {
|
||||
std::vector<BasicBlock*> Blocks = { TI->getParent() };
|
||||
if (!SplitBlockPredecessors(Succ, Blocks, ".fold.split"))
|
||||
if (!SplitBlockPredecessors(Succ, TI->getParent(), ".fold.split"))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ private:
|
||||
bool inExceptionList(const CodeGenInstruction *Inst) {
|
||||
// List of EVEX instructions that match VEX instructions by the encoding
|
||||
// but do not perform the same operation.
|
||||
static constexpr StringLiteral ExceptionList[] = {
|
||||
static constexpr const char *ExceptionList[] = {
|
||||
"VCVTQQ2PD",
|
||||
"VCVTQQ2PS",
|
||||
"VPMAXSQ",
|
||||
|
Loading…
x
Reference in New Issue
Block a user