Skip to content

Commit

Permalink
Add basic support for folding and normalizing hwintrinsic trees in mo…
Browse files Browse the repository at this point in the history
…rph (#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
  • Loading branch information
tannergooding committed Jun 13, 2024
1 parent daf6cdc commit d7ae8c6
Show file tree
Hide file tree
Showing 18 changed files with 2,917 additions and 887 deletions.
4 changes: 4 additions & 0 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -3649,6 +3649,10 @@ class Compiler
GenTree* gtFoldTypeCompare(GenTree* tree);
GenTree* gtFoldTypeEqualityCall(bool isEq, GenTree* op1, GenTree* op2);

#if defined(FEATURE_HW_INTRINSICS)
GenTree* gtFoldExprHWIntrinsic(GenTreeHWIntrinsic* tree);
#endif // FEATURE_HW_INTRINSICS

// Options to control behavior of gtTryRemoveBoxUpstreamEffects
enum BoxRemovalOptions
{
Expand Down
Loading

0 comments on commit d7ae8c6

Please sign in to comment.