summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2018-09-11 19:19:21 +0000
committerAlina Sbirlea <asbirlea@google.com>2018-09-11 19:19:21 +0000
commita496143c9e6f95e200bb71b6657cdd6431caebd2 (patch)
treea2d610cf19a08334f20a978d22fb8eb8183d5338 /llvm/test/Transforms/LoopUnswitch/unswitch-select.ll
parente199a2d434b10b5bffacf0043f2b1d835442c4e7 (diff)
downloadbcm5719-llvm-a496143c9e6f95e200bb71b6657cdd6431caebd2.tar.gz
bcm5719-llvm-a496143c9e6f95e200bb71b6657cdd6431caebd2.zip
Update MemorySSA in LoopUnswitch.
Summary: Update MemorySSA in old LoopUnswitch pass. Actual dependency and update is disabled by default. Subscribers: sanjoy, jlebar, Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D45301 llvm-svn: 341984
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch/unswitch-select.ll')
-rw-r--r--llvm/test/Transforms/LoopUnswitch/unswitch-select.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll b/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll
index 1caac5af1cf..7b62587f53f 100644
--- a/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll
+++ b/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll
@@ -1,5 +1,6 @@
; REQUIRES: asserts
; RUN: opt < %s -loop-unswitch -disable-output -stats 2>&1| FileCheck %s
+; RUN: opt < %s -loop-unswitch -enable-mssa-loop-dependency=true -verify-memoryssa -disable-output -stats 2>&1| FileCheck %s
; Check the select statement in the loop will be unswitched.
; CHECK: 1 loop-unswitch - Number of selects unswitched
OpenPOWER on IntegriCloud