Skip to content

Commit 11e2432

Browse files
committed
Fix highlighting LLVM IR
1 parent e79dfd1 commit 11e2432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ FROM instructions WHERE m_inst(instruction, m_trunc(m_binop(m_zext() || m_sext()
4040

4141
If we have LLVM IR function like this, and we want to match `add` instruction that has result of sub instruction as Left hand side and result of mul instruction as Right hand side.
4242

43-
```ir
43+
```llvm
4444
define i32 @function(i32 %a, i32 %b) {
4545
%sub = sub i32 %a, %b
4646
%mull = mul i32 %a, %b
@@ -63,7 +63,7 @@ SELECT function_name, count() FROM instructions WHERE m_inst(instruction, m_add(
6363

6464
You can also filter by number of times the value is used for example for not used values
6565

66-
```IR
66+
```llvm
6767
define i32 @function(i32 %a, i32 %b) {
6868
%unused_add = add i32 %a, 1
6969

0 commit comments

Comments
 (0)