[PATCH] D68841: [PowerPC] Do not convert loop to HW loop if the body contains calls to lrint/lround

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 15:39:49 PDT 2019


nemanjai marked an inline comment as done.
nemanjai added inline comments.
Herald added a subscriber: wuzish.


================
Comment at: lib/Target/PowerPC/PPCTargetTransformInfo.cpp:281
+          // a call for safety.
+          default: return true;
           // If we have a call to ppc_is_decremented_ctr_nonzero, or ppc_mtctr
----------------
@hfinkel What do you think about this conservative approach to prevent similar issues in the future? This is I think a third time I address a similar bug.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68841/new/

https://reviews.llvm.org/D68841





More information about the llvm-commits mailing list