diff options
author | Nikita Popov <npopov@redhat.com> | 2023-03-06 10:46:22 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-03-16 10:32:08 +0100 |
commit | bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e (patch) | |
tree | 7b86a9e7b80e0b6684cd784606065d471f85c471 /llvm/unittests/Analysis/ValueTrackingTest.cpp | |
parent | b293c6280d06f49c5ca7290855911341ab0bdffa (diff) | |
download | llvm-bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e.zip llvm-bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e.tar.gz llvm-bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e.tar.bz2 |
[ConstExpr] Remove select constant expression
This removes the select constant expression, as part of
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179.
Uses of this expressions have already been removed in advance,
so this just removes related infrastructure and updates tests.
Differential Revision: https://reviews.llvm.org/D145382
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/ValueTrackingTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/unittests/Analysis/ValueTrackingTest.cpp b/llvm/unittests/Analysis/ValueTrackingTest.cpp index ef13052..713cfed8 100644 --- a/llvm/unittests/Analysis/ValueTrackingTest.cpp +++ b/llvm/unittests/Analysis/ValueTrackingTest.cpp @@ -1157,10 +1157,7 @@ TEST(ValueTracking, canCreatePoisonOrUndef) { {{false, false}, "call noundef i32 @g(i32 %x)"}, {{true, false}, "fcmp nnan oeq float %fx, %fy"}, {{false, false}, "fcmp oeq float %fx, %fy"}, - {{true, false}, - "ashr <4 x i32> %vx, select (i1 icmp sgt (i32 ptrtoint (i32* @s to " - "i32), i32 1), <4 x i32> zeroinitializer, <4 x i32> <i32 0, i32 1, i32 " - "2, i32 3>)"}, + {{true, false}, "ashr i32 %x, ptrtoint (i32* @s to i32)"}, {{false, false}, "call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %x, i32 %y)"}, {{false, false}, |