diff options
author | Shoreshen <372660931@qq.com> | 2025-04-01 11:18:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 11:18:17 +0800 |
commit | 145b4a39504b88a695f1f85f4d9da991bb9a2656 (patch) | |
tree | f0d2339dc636aef160b7da22c6dac7ee3a98f4d0 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | a417a868cd2dad41765e43715379a54289f7da67 (diff) | |
download | llvm-145b4a39504b88a695f1f85f4d9da991bb9a2656.zip llvm-145b4a39504b88a695f1f85f4d9da991bb9a2656.tar.gz llvm-145b4a39504b88a695f1f85f4d9da991bb9a2656.tar.bz2 |
[AMDGPU][CodeGenPrepare] Narrow 64 bit math to 32 bit if profitable (#130577)
For Add, Sub, Mul with Int64 type, if profitable, then do:
1. Trunc operands to Int32 type
2. Apply 32 bit Add/Sub/Mul
3. Zext to Int64 type
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions