[PATCH] D143602: Allow 32-bit pointers to be written in 64-bit slots

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 14:13:27 PST 2023


arsenm added inline comments.


================
Comment at: test/CodeGen/WebAssembly/ptrtoint-widen.ll:4
+ at ptr = external global i8, align 1
+ at ref = constant i64 ptrtoint (ptr @ptr to i64), align 8
+
----------------
Can you include some tests with different sized result integers? I thought that was the point of the patch 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143602/new/

https://reviews.llvm.org/D143602



More information about the llvm-commits mailing list