From b884cad0d66d5a870ff327e1b1c6e85e2c04af94 Mon Sep 17 00:00:00 2001 From: Ben Shi Date: Sat, 9 Aug 2025 15:17:29 +0800 Subject: [PATCH] [NFC] Fix a typo in comments --- llvm/include/llvm/CodeGen/TargetLowering.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h index 01f8fb5ed061f..172b01a649810 100644 --- a/llvm/include/llvm/CodeGen/TargetLowering.h +++ b/llvm/include/llvm/CodeGen/TargetLowering.h @@ -547,10 +547,10 @@ class LLVM_ABI TargetLoweringBase { // intermediate results in f32 precision and range. virtual bool softPromoteHalfType() const { return false; } - // Return true if, for soft-promoted half, the half type should be passed - // passed to and returned from functions as f32. The default behavior is to - // pass as i16. If soft-promoted half is not used, this function is ignored - // and values are always passed and returned as f32. + // Return true if, for soft-promoted half, the half type should be passed to + // and returned from functions as f32. The default behavior is to pass as + // i16. If soft-promoted half is not used, this function is ignored and + // values are always passed and returned as f32. virtual bool useFPRegsForHalfType() const { return false; } // There are two general methods for expanding a BUILD_VECTOR node: