[llvm] [RISCV][VLOPT] Add fsqrt instruction to isSupportInstr (PR #127462)
    Luke Lau via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 17 01:57:15 PST 2025
    
    
  
================
@@ -1318,11 +1318,10 @@ define void @sqrt_v6bf16(ptr %x) {
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetivli zero, 6, e16, m1, ta, ma
 ; CHECK-NEXT:    vle16.v v8, (a0)
-; CHECK-NEXT:    vsetivli zero, 8, e16, m1, ta, ma
----------------
lukel97 wrote:
Isn't the call in LLVM IR in the default floating point environment, so nofpexcept should be set? I.e. I don't think fflags are observable unless using the constrained intrinsics
https://github.com/llvm/llvm-project/pull/127462
    
    
More information about the llvm-commits
mailing list