Mercurial > hg > CbC > CbC_llvm
diff llvm/test/CodeGen/AMDGPU/propagate-attributes-single-set.ll @ 221:79ff65ed7e25
LLVM12 Original
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Jun 2021 19:15:29 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line diff
--- a/llvm/test/CodeGen/AMDGPU/propagate-attributes-single-set.ll Tue Jun 15 19:13:43 2021 +0900 +++ b/llvm/test/CodeGen/AMDGPU/propagate-attributes-single-set.ll Tue Jun 15 19:15:29 2021 +0900 @@ -1,4 +1,5 @@ ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -O1 < %s | FileCheck -check-prefix=OPT %s +; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes='default<O1>' < %s | FileCheck -check-prefix=OPT %s ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -verify-machineinstrs < %s | FileCheck -check-prefix=LLC %s ; OPT: declare void @foo4() local_unnamed_addr #0 @@ -18,19 +19,19 @@ ; LLC: sample asm ; LLC: foo1: ; LLC: foo4@gotpcrel32@lo+4 -; LLC: foo4@gotpcrel32@hi+4 +; LLC: foo4@gotpcrel32@hi+12 ; LLC: foo3@gotpcrel32@lo+4 -; LLC: foo3@gotpcrel32@hi+4 +; LLC: foo3@gotpcrel32@hi+12 ; LLC: foo2@gotpcrel32@lo+4 -; LLC: foo2@gotpcrel32@hi+4 +; LLC: foo2@gotpcrel32@hi+12 ; LLC: foo1@gotpcrel32@lo+4 -; LLC: foo1@gotpcrel32@hi+4 +; LLC: foo1@gotpcrel32@hi+12 ; LLC: kernel1: ; LLC: foo1@gotpcrel32@lo+4 -; LLC: foo1@gotpcrel32@hi+4 +; LLC: foo1@gotpcrel32@hi+12 ; LLC: kernel2: ; LLC: foo2@gotpcrel32@lo+4 -; LLC: foo2@gotpcrel32@hi+4 +; LLC: foo2@gotpcrel32@hi+12 declare void @foo4() #1