Implement folding of the transformational intrinsic function
CSHIFT for all types.
Details
Details
- Reviewers
PeteSteinfeld sscalpone - Commits
- rG0bbb2d003622: [flang] Fold CSHIFT
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I had one comment in fold-implementation.h. Otherwise, all builds, tests, and looks good.
Thanks for doing this!
flang/lib/Evaluate/fold-implementation.h | ||
---|---|---|
557–559 | Can you move this code down below after you get the "shift" variable below and avoid the "if" statement at line 563? |
flang/lib/Evaluate/fold-implementation.h | ||
---|---|---|
557–559 | If shiftExpr isn't available, I can't try to convert it. |
Can you move this code down below after you get the "shift" variable below and avoid the "if" statement at line 563?