brintos

brintos / llvm-project-archived public Read only

0
0
Text · 485 B · 8c4d1f4 Raw
17 lines · plain
1; RUN: opt %s -passes=early-cse -S | FileCheck %s2 3define void @fn() {4entry:5  %0 = tail call ptr @llvm.dx.create.handle(i8 1)6  %1 = tail call ptr @llvm.dx.create.handle(i8 1)7  ret void8}9 10; Function Attrs: mustprogress nounwind willreturn11declare ptr @llvm.dx.create.handle(i8) #012 13attributes #0 = { mustprogress nounwind willreturn }14 15; CSE needs to leave this alone16; CHECK: %0 = tail call ptr @llvm.dx.create.handle(i8 1)17; CHECK: %1 = tail call ptr @llvm.dx.create.handle(i8 1)