mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Avoid a compiler warning about reg possibly being used uninitialized
when building with assertions disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
838b97edfa
commit
75548de301
@ -212,11 +212,9 @@ SDValue PTXTargetLowering::
|
||||
else if (Outs[0].VT == MVT::f32) {
|
||||
reg = PTX::F0;
|
||||
}
|
||||
else if (Outs[0].VT == MVT::f64) {
|
||||
reg = PTX::FD0;
|
||||
}
|
||||
else {
|
||||
assert(false && "Can return only basic types");
|
||||
assert(Outs[0].VT == MVT::f64 && "Can return only basic types");
|
||||
reg = PTX::FD0;
|
||||
}
|
||||
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
|
Loading…
x
Reference in New Issue
Block a user