Skip to content

Commit cdf2b8e

Browse files
[CINN][Backend Pass Update No.6] Update longlong2int pass (#70462)
* Update longlong2int pass * Split ll2int to tow passes * apply cherry pick * Extract stmt logic from mutator into StmtPass * Refine comment * Implement CastLonglong2Int function to convert int64 types to int32 with overflow checks * Refine * Rename CastLonglong2Int to TryCastLonglong2Int for clarity and update references
1 parent 1b96836 commit cdf2b8e

File tree

6 files changed

+284
-196
lines changed

6 files changed

+284
-196
lines changed

paddle/cinn/optim/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ gather_srcs(
3838
eliminate_common_global_memory_read.cc
3939
rearrange_load_instruction.cc
4040
check_tensor_buffer_map.cc
41-
longlong2int.cc
41+
longlong2int_pass.cc
4242
vectorize_for_trans.cc)
4343

4444
if(WITH_CUDA OR WITH_ROCM)

paddle/cinn/optim/longlong2int.cc

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)