mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[test] Fix FullUnroll.ll
I believe the intention of this test added in https://reviews.llvm.org/D71687 was to test LoopFullUnrollPass with clang's -fno-unroll-loops, not its interaction with optnone. Loop unrolling passes don't run under optnone/-O0. Also added back unintentionally removed -disable-loop-unrolling from https://reviews.llvm.org/D85578. Reviewed By: echristo Differential Revision: https://reviews.llvm.org/D86485
This commit is contained in:
parent
f17e1f0936
commit
9ae2247c05
@ -1,4 +1,4 @@
|
||||
; RUN: opt -passes='loop-unroll-full' -disable-verify --mtriple x86_64-pc-linux-gnu -S -o - %s | FileCheck %s
|
||||
; RUN: opt -passes='loop-unroll-full' -disable-verify -disable-loop-unrolling=true --mtriple x86_64-pc-linux-gnu -S -o - %s | FileCheck %s
|
||||
|
||||
; This checks that the loop full unroller will fire in the new pass manager
|
||||
; when forced via #pragma in the source (or annotation in the code).
|
||||
@ -39,7 +39,7 @@ bb24: ; preds = %bb3.loopexit
|
||||
ret void
|
||||
}
|
||||
|
||||
attributes #0 = { noinline nounwind optnone uwtable }
|
||||
attributes #0 = { nounwind uwtable }
|
||||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user