[llvm] r362414 - [WebAssembly] Remove fptosi(undef) and fptoui(undef) from reduced test case.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 09:21:58 PDT 2019
Author: rksimon
Date: Mon Jun 3 09:21:58 2019
New Revision: 362414
URL: http://llvm.org/viewvc/llvm-project?rev=362414&view=rev
Log:
[WebAssembly] Remove fptosi(undef) and fptoui(undef) from reduced test case.
Pre-commit for D62811 - which adds DAG fpto[us]i(undef) --> undef constant fold
Modified:
llvm/trunk/test/CodeGen/WebAssembly/target-features.ll
Modified: llvm/trunk/test/CodeGen/WebAssembly/target-features.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/target-features.ll?rev=362414&r1=362413&r2=362414&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/target-features.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/target-features.ll Mon Jun 3 09:21:58 2019
@@ -9,16 +9,16 @@
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
-define void @foo(i32* %p1) #0 {
+define void @foo(i32* %p1, float %f2) #0 {
%a = atomicrmw min i32* undef, i32 42 seq_cst
- %v = fptoui float undef to i32
+ %v = fptoui float %f2 to i32
store i32 %v, i32* %p1
ret void
}
-define void @bar(i32* %p1) #1 {
+define void @bar(i32* %p1, float %f2) #1 {
%a = atomicrmw min i32* undef, i32 42 seq_cst
- %v = fptoui float undef to i32
+ %v = fptoui float %f2 to i32
store i32 %v, i32* %p1
ret void
}
More information about the llvm-commits
mailing list