Skip to content

Commit d18eb5e

Browse files
committed
spelling
Created using spr 1.3.8-beta.1
1 parent 690f308 commit d18eb5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
33
;; Check that we do not create new inttoptr instructions for unstable pointers
44
;; or pointers with external state (even if the values are all constants).
5-
;; NOTE: for all but the zero address space, the GEP should only modify the low 8 bits of the pointer.
5+
;; NOTE: for all but the zero address space, the GEP should only modify the
6+
;; low 8 bits of the pointer.
67
target datalayout = "p:16:16:16:16-p1:16:16:16:8-pu2:16:16:16:8-pe3:16:16:16:8"
78

89
define ptr @test_null_base_normal() {
@@ -22,7 +23,7 @@ define ptr @test_inttoptr_base_normal() {
2223
}
2324

2425
;; Transformation is fine for non-integral address space, but we can only change
25-
;; the index bits (i8 -2 == i16 254)
26+
;; the index bits: (i8 -2 == i16 254)
2627
define ptr addrspace(1) @test_null_base_nonintegral() {
2728
; CHECK-LABEL: define ptr addrspace(1) @test_null_base_nonintegral() {
2829
; CHECK-NEXT: ret ptr addrspace(1) inttoptr (i16 254 to ptr addrspace(1))

0 commit comments

Comments
 (0)