Add the ability to use GEPs for address sinking in CGP
[oota-llvm.git] / test / CodeGen / ARM64 / dagcombiner-indexed-load.ll
index 6cea039ad855c1d1243424b3471335720475fb28..2e4b658f1c9c993f83b31f4bc870ca17151f9c8e 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc -O3 < %s | FileCheck %s
+; RUN: llc -O3 -addr-sink-using-gep=1 < %s | FileCheck %s
 ; Test case for a DAG combiner bug where we combined an indexed load
 ; with an extension (sext, zext, or any) into a regular extended load,
 ; i.e., dropping the indexed value.