projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a15dc
)
[examples] Fix test: Kaleidoscope Chapter 4 no longer supports redefinition.
author
Lang Hames
<lhames@gmail.com>
Mon, 19 Oct 2020 07:33:31 +0000
(
00:33
-0700)
committer
Lang 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
patch
|
blob
|
history
diff --git
a/llvm/test/Examples/Kaleidoscope/Chapter4.test
b/llvm/test/Examples/Kaleidoscope/Chapter4.test
index
cf8f743
..
3d1ab54
100644
(file)
--- a/
llvm/test/Examples/Kaleidoscope/Chapter4.test
+++ b/
llvm/test/Examples/Kaleidoscope/Chapter4.test
@@
-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
-