diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-11-01 23:32:17 -0500 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-11-02 01:22:41 -0500 |
| commit | 4c56086f8b458bbe8300b0cbd59baaf46ea38d7c (patch) | |
| tree | 576ad6d20e7d79ade7106393885ac8af2102e40f /llvm/test/Transforms | |
| parent | 83503ad1196549ee6cc6d43e7f8db7eaaa6afbc6 (diff) | |
| download | bcm5719-llvm-4c56086f8b458bbe8300b0cbd59baaf46ea38d7c.tar.gz bcm5719-llvm-4c56086f8b458bbe8300b0cbd59baaf46ea38d7c.zip | |
[AbstractCallSite][FIX] Correct faulty assertion
When the Attributor run on the IPConstantProp test case for multiple
callbacks it triggered a faulty assertion in the AbstractCallSite
implementation. The callee can well be at argument position 0.
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll b/llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll index 3288b5b94de..0d1df8dff52 100644 --- a/llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll +++ b/llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll @@ -1,4 +1,5 @@ ; RUN: opt -ipconstprop -S < %s | FileCheck %s +; RUN: opt -S -passes=attributor -aa-pipeline='basic-aa' -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=1 < %s | FileCheck %s ; ; ; /---------------------------------------| |

