[PATCH] D123300: [Clang] Enable opaque pointers by default

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 15 13:54:32 PDT 2022


fhahn added a comment.

In D123300#3454215 <https://reviews.llvm.org/D123300#3454215>, @aeubanks wrote:

>   $ cat /tmp/a.ll 
>   target triple = "thumbv8-unknown-linux-gnueabihf"
>   
>   define void @zot() {
>   bb:
>     br label %bb1
>   
>   bb1:                                              ; preds = %bb1, %bb
>     %tmp = phi ptr [ null, %bb ], [ %tmp2, %bb1 ]
>     store ptr %tmp, ptr %tmp, align 4
>     %tmp2 = getelementptr inbounds ptr, ptr %tmp, i32 1
>     %tmp3 = icmp eq ptr %tmp2, null
>     br i1 %tmp3, label %bb4, label %bb1
>   
>   bb4:                                              ; preds = %bb1
>     ret void
>   }
>   $ opt -passes=loop-vectorize /tmp/a.ll -disable-output
>   # crash

Should be fixed by 73f5d7d0d6ec0e <https://reviews.llvm.org/rG73f5d7d0d6ec0eb474925f1952fd7b6f92024fa1>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123300



More information about the cfe-commits mailing list