File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Target/AArch64/GISel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -868,7 +868,7 @@ AArch64RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
868868 break ;
869869 TypeSize DstSize = getSizeInBits (MI.getOperand (0 ).getReg (), MRI, TRI);
870870 TypeSize SrcSize = getSizeInBits (MI.getOperand (1 ).getReg (), MRI, TRI);
871- if (((DstSize == SrcSize) || STI.hasFeature (AArch64::FeatureFPRCVT)) &
871+ if (((DstSize == SrcSize) || STI.hasFeature (AArch64::FeatureFPRCVT)) &&
872872 all_of (MRI.use_nodbg_instructions (MI.getOperand (0 ).getReg ()),
873873 [&](const MachineInstr &UseMI) {
874874 return onlyUsesFP (UseMI, MRI, TRI) ||
@@ -1172,7 +1172,7 @@ AArch64RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
11721172 }
11731173 TypeSize DstSize = getSizeInBits (MI.getOperand (0 ).getReg (), MRI, TRI);
11741174 TypeSize SrcSize = getSizeInBits (MI.getOperand (2 ).getReg (), MRI, TRI);
1175- if (((DstSize == SrcSize) || STI.hasFeature (AArch64::FeatureFPRCVT)) &
1175+ if (((DstSize == SrcSize) || STI.hasFeature (AArch64::FeatureFPRCVT)) &&
11761176 all_of (MRI.use_nodbg_instructions (MI.getOperand (0 ).getReg ()),
11771177 [&](const MachineInstr &UseMI) {
11781178 return onlyUsesFP (UseMI, MRI, TRI) ||
You can’t perform that action at this time.
0 commit comments