[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Sep 20 17:39:02 PDT 2025


================
@@ -6,7 +6,9 @@ target datalayout = "p:16:16:16:8"
 ; The GEP should only modify the low 8 bits of the pointer.
 define ptr @test() {
 ; CHECK-LABEL: define ptr @test() {
-; CHECK-NEXT:    ret ptr inttoptr (i16 -256 to ptr)
+; We need to use finer-grained DataLayout properties for non-integral pointers
+; FIXME: Should be: ret ptr inttoptr (i16 -256 to ptr)
----------------
arichardson wrote:

https://github.com/llvm/llvm-project/pull/159959

https://github.com/llvm/llvm-project/pull/105735


More information about the llvm-branch-commits mailing list