diff options
-rw-r--r-- | test/Transforms/InstCombine/select.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 843af1dbcd..526a1bcefd 100644 --- a/test/Transforms/InstCombine/select.ll +++ b/test/Transforms/InstCombine/select.ll @@ -148,3 +148,9 @@ bool %test17(int* %X, bool %C) { %RV = seteq int* %R, null ret bool %RV } + +int %test18(int %X, int %Y, bool %C) { + %R = select bool %C, int %X, int 0 + %V = div int %Y, %R ; div Y,X + ret int %V +} |