This patch tests the leadz, trailz, popcnt and poppar F08 intrinsics for the case where the operand to the intrinsics is a compile-time constant.
Essentially, this checks if the value is folded correctly in that case.
Paths
| Differential D129610
NFC: Test folding of F08 bit population count intrinsics ClosedPublic Authored by tarunprabhu on Jul 12 2022, 5:55 PM.
Details Summary This patch tests the leadz, trailz, popcnt and poppar F08 intrinsics for the case where the operand to the intrinsics is a compile-time constant. Essentially, this checks if the value is folded correctly in that case.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 13 2022, 3:50 AM Closed by commit rG8e48783dcbf4: [flang][nfc] Test folding of bit-population count intrinsics (authored by tarunprabhu). · Explain WhyJul 20 2022, 9:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 446181 flang/test/Evaluate/fold-popcnt.f90
|