OSDN Git Service

[examples] Fix test: Kaleidoscope Chapter 4 no longer supports redefinition.
authorLang Hames <lhames@gmail.com>
Mon, 19 Oct 2020 07:33:31 +0000 (00:33 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 19 Oct 2020 07:35:56 +0000 (00:35 -0700)
This may be fixed in the future, but since redefinition in OrcV2 requires more
manual work on the JIT client's part it was left out of the most recent update
to the tutorials.

llvm/test/Examples/Kaleidoscope/Chapter4.test

index cf8f743..3d1ab54 100644 (file)
@@ -7,12 +7,3 @@ def bar(x) foo(2 * x);
 bar(2);
 # CHECK: Evaluated to 5.000000
 
-# Test redefinition.
-def foo(x) x + 2;
-foo(2);
-# CHECK: Evaluated to 4.000000
-
-# Verify that 'bar' still calls the original 'foo'.
-bar(2);
-# CHECK: Evaluated to 5.000000
-