[llvm] [SDAG][NVPTX] Add TLI check for preferring custom FP_TO_SINT operations to FP_TO_UINT (PR #132470)
    Artem Belevich via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 24 11:59:17 PDT 2025
    
    
  
================
@@ -0,0 +1,134 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
----------------
Artem-B wrote:
What does this change buy us?
It appears that on this test LLVM currently generates the same output (AFAICT): https://godbolt.org/z/svM1Kns79
It's possible that I've missed something. Can you point me at the suboptimal code LLVM generates now? 
Perhaps we just need a few more test cases to cover the changes introduced by the patch..
https://github.com/llvm/llvm-project/pull/132470
    
    
More information about the llvm-commits
mailing list