[PATCH] D136201: [InstCombine] Handle PHI nodes when eliminating constant memcpy

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 11:35:31 PDT 2022


gandhi21299 added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/replace-alloca-phi.ll:3
+; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s
+
+target triple="amdgcn-amd-amdhsa"
----------------
arsenm wrote:
> arsenm wrote:
> > Drop the triple, this just needs target datalayout ="A5". Otherwise this will fail without amdgpu built 
> Probably should do "p5-32-A5"
Is that a complete specification? I am getting the following error: 

`error: Missing size specification for pointer in datalayout string`



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136201



More information about the llvm-commits mailing list