[flang-commits] [PATCH] D105969: [flang] Add default implementation	for SYSTEM_CLOCK
    Diana Picus via Phabricator via flang-commits 
    flang-commits at lists.llvm.org
       
    Mon Aug 16 05:13:52 PDT 2021
    
    
  
rovka updated this revision to Diff 366596.
rovka added a comment.
Replaced std::min with a constexpr if (which imo is easier to read/reason about than a std::min with casts). This should fix windows & mac.
I also fixed a typo from my previous diff where I ended up comparing the maximum of count_t with itself instead of the maximum of clock_t.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105969/new/
https://reviews.llvm.org/D105969
Files:
  flang/runtime/time-intrinsic.cpp
  flang/unittests/Runtime/Time.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105969.366596.patch
Type: text/x-patch
Size: 4101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210816/ffd1d0a9/attachment.bin>
    
    
More information about the flang-commits
mailing list