Author: Sanjay Patel Date: 2021-05-25T09:17:10-04:00 New Revision: 16e78ec0b43c33c818525ea9b5d39731022f1cbb
URL: https://github.com/llvm/llvm-project/commit/16e78ec0b43c33c818525ea9b5d39731022f1cbb DIFF: https://github.com/llvm/llvm-project/commit/16e78ec0b43c33c818525ea9b5d39731022f1cbb.diff LOG: [Headers][WASM] adjust test that runs the optimizer; NFC This broke with the LLVM change in 0bab0f616119 Added: Modified: clang/test/Headers/wasm.c Removed: ################################################################################ diff --git a/clang/test/Headers/wasm.c b/clang/test/Headers/wasm.c index 8b87eb2c0e2e..c170e75259d1 100644 --- a/clang/test/Headers/wasm.c +++ b/clang/test/Headers/wasm.c @@ -1,6 +1,8 @@ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --force-update // REQUIRES: webassembly-registered-target, asserts +// FIXME: This should not be using -O2 and implicitly testing the entire IR opt pipeline. + // RUN: %clang %s -O2 -emit-llvm -S -o - -target wasm32-unknown-unknown -msimd128 -Wcast-qual -fno-lax-vector-conversions -Werror | FileCheck %s #include <wasm_simd128.h> @@ -582,7 +584,7 @@ v128_t test_i64x2_replace_lane(v128_t a, int64_t b) { // CHECK-NEXT: entry: // CHECK-NEXT: [[VECINIT_I:%.*]] = insertelement <4 x float> undef, float [[A:%.*]], i32 0 // CHECK-NEXT: [[TMP0:%.*]] = bitcast <4 x float> [[VECINIT_I]] to <4 x i32> -// CHECK-NEXT: [[TMP1:%.*]] = shufflevector <4 x i32> [[TMP0]], <4 x i32> poison, <4 x i32> zeroinitializer +// CHECK-NEXT: [[TMP1:%.*]] = shufflevector <4 x i32> [[TMP0]], <4 x i32> undef, <4 x i32> zeroinitializer // CHECK-NEXT: ret <4 x i32> [[TMP1]] // v128_t test_f32x4_splat(float a) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits