Skip to content

Commit d7ae8c6

Browse files
Add basic support for folding and normalizing hwintrinsic trees in morph (#103143)
* Add basic support for folding hwintrinsic trees in morph * Reduce the amount of copying required to evaluated vector constants * Have gtFoldExprHWIntrinsic handle side effects
1 parent daf6cdc commit d7ae8c6

18 files changed

+2917
-887
lines changed

src/coreclr/jit/compiler.h

+4
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,10 @@ class Compiler
36493649
GenTree* gtFoldTypeCompare(GenTree* tree);
36503650
GenTree* gtFoldTypeEqualityCall(bool isEq, GenTree* op1, GenTree* op2);
36513651

3652+
#if defined(FEATURE_HW_INTRINSICS)
3653+
GenTree* gtFoldExprHWIntrinsic(GenTreeHWIntrinsic* tree);
3654+
#endif // FEATURE_HW_INTRINSICS
3655+
36523656
// Options to control behavior of gtTryRemoveBoxUpstreamEffects
36533657
enum BoxRemovalOptions
36543658
{

0 commit comments

Comments
 (0)