[PATCH] D52765: [ConstantFolding] Constant fold minimum and maximum intrinsics
    Thomas Lively via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct  4 13:55:21 PDT 2018
    
    
  
tlively marked an inline comment as done.
tlively added inline comments.
================
Comment at: test/Analysis/ConstantFolding/min-max.ll:49
+}
+
+; CHECK: define float @minimum_float() {
----------------
aheejin wrote:
> Maybe add tests with zeros for `minnum` and `maxnum` too to show they can't be constant folded?
Done, but showing that they can be constant folded. The new tests allow either positive or negative zero when both as passed as arguments.
Repository:
  rL LLVM
https://reviews.llvm.org/D52765
    
    
More information about the llvm-commits
mailing list