We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a82c8e commit a6ac36fCopy full SHA for a6ac36f
IGC/Compiler/CISACodeGen/PatternMatchPass.cpp
@@ -2016,20 +2016,6 @@ namespace IGC
2016
}
2017
2018
2019
- if (found)
2020
- {
2021
- uint8_t numConstant = 0;
2022
- for (int i = 0; i < 3; i++)
2023
2024
- if (isa<Constant>(sources[i]))
2025
- numConstant++;
2026
-
2027
- // Only one immediate is supported
2028
- if (numConstant > 1)
2029
- return false;
2030
- }
2031
2032
2033
// Check integer mad profitability.
2034
if (found && !isFpMad(I))
2035
{
0 commit comments