Use roundToIntegral instead roundeven of libm to avoid window build failed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D133402  
[mlir][Math] Fix RoundEven constant folder. ClosedPublic Authored by jacquesguan on Sep 7 2022, 1:05 AM. 
Details Summary Use roundToIntegral instead roundeven of libm to avoid window build failed. 
Diff Detail 
 Event Timelinejacquesguan added reviewers: nicolasvasilache, ftynse, aartbik, bondhugula, rriddle, mehdi_amini, ThomasRaoux.Sep 7 2022, 1:58 AM This revision is now accepted and ready to land.Sep 7 2022, 4:47 AM Closed by commit rG238e08d64326: [mlir][Math] Fix RoundEven constant folder. (authored by jacquesguan, committed by mehdi_amini).  ·  Explain WhySep 7 2022, 5:46 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 458433 mlir/lib/Dialect/Math/IR/MathOps.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||