[PATCH] D73625: [FPEnv][AArch64] Add lowering and instruction selection for strict conversions
    Dave Green via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 30 04:03:09 PST 2020
    
    
  
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:2616-2617
   // f16 conversions are promoted to f32 when full fp16 is not supported.
-  if (Op.getOperand(0).getValueType() == MVT::f16 &&
+  if (SrcVal.getValueType() == MVT::f16 &&
       !Subtarget->hasFullFP16()) {
+    assert(!IsStrict && "Lowering of strict fp16 not yet implemented");
----------------
Can you format this whilst you are here.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73625/new/
https://reviews.llvm.org/D73625
    
    
More information about the llvm-commits
mailing list