File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
llvm/test/Transforms/CodeGenPrepare Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2- ; RUN: opt -codegenprepare -S < %s -mtriple=aarch64-none-linux-gnu -mattr=+sve | FileCheck %s
2+ ; RUN: opt -passes='require<profile-summary>,function( codegenprepare)' -S < %s | FileCheck %s
33
4- define void @do_not_sink_scalable_vector_compare (ptr %a , ptr %b ) {
4+ target triple = "aarch64-unknown-linux-gnu"
5+
6+ define void @do_not_sink_scalable_vector_compare (ptr %a , ptr %b ) #0 {
57; CHECK-LABEL: define void @do_not_sink_scalable_vector_compare(
68; CHECK-SAME: ptr [[A:%.*]], ptr [[B:%.*]]) #[[ATTR0:[0-9]+]] {
79; CHECK-NEXT: [[ENTRY:.*]]:
@@ -39,3 +41,4 @@ vector.end:
3941 ret void
4042}
4143
44+ attributes #0 = { "target-features" ="+sve" }
You can’t perform that action at this time.
0 commit comments