[all-commits] [llvm/llvm-project] 44967f: AMDGPU: Simplify f16 to i64 custom lowering
petar-avramovic via All-commits
all-commits at lists.llvm.org
Wed Jul 22 01:32:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 44967fc604519a4a57bbcabbd7c46380b5d1b74c
https://github.com/llvm/llvm-project/commit/44967fc604519a4a57bbcabbd7c46380b5d1b74c
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2020-07-22 (Wed, 22 Jul 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/fptosi.f16.ll
M llvm/test/CodeGen/AMDGPU/fptoui.f16.ll
Log Message:
-----------
AMDGPU: Simplify f16 to i64 custom lowering
Range that f16 can represent fits into i32.
Lower as f16->i32->i64 instead of f16->f32->i64
since f32->i64 has long expansion.
Differential Revision: https://reviews.llvm.org/D84166
More information about the All-commits
mailing list