[llvm] [AMDGPULowerBufferFatPointers] Expand const exprs using fat pointers (PR #95558)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 09:11:57 PDT 2024
================
@@ -176,7 +179,7 @@ define i64 @ptrtoint_short() {
define i32 @ptrtoint_very_short() {
; CHECK-LABEL: define i32 @ptrtoint_very_short
; CHECK-SAME: () #[[ATTR0]] {
-; CHECK-NEXT: ret i32 add nuw nsw (i32 shl (i32 ptrtoint (ptr addrspace(8) @buf to i32), i32 32), i32 12)
+; CHECK-NEXT: ret i32 12
----------------
arsenm wrote:
This lost depending on the global at all?
https://github.com/llvm/llvm-project/pull/95558
More information about the llvm-commits
mailing list