From 98f32968f5db1580e7f6a4f5db0e1198e95f2677 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Wed, 5 Jan 2022 11:17:56 -0800 Subject: [PATCH] docs: Fix typo in ISLE and Cranelift integration docs (#3652) --- cranelift/docs/isle-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/docs/isle-integration.md b/cranelift/docs/isle-integration.md index 2298281375..65de395097 100644 --- a/cranelift/docs/isle-integration.md +++ b/cranelift/docs/isle-integration.md @@ -158,7 +158,7 @@ rule, which avoids the action-at-a-distance bugs described earlier. For example, loads have a side effect in CLIF: they might trap. Therefore, even if a loaded value is never used, we will emit code that implements that -load. But if we are compiling for x86 we can sink loads into other the operand +load. But if we are compiling for x86 we can sink loads into the operand for another operation depending on how the loaded value is used. If we sink that load into, say, an `add` then we need to tell the lowering context *not* to lower the CLIF `load` instruction anymore, because its effectively already