Skip to content

[NFC] Fix a typo in comments #152840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions llvm/include/llvm/CodeGen/TargetLowering.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down