[sledge] Fix typo llvm.memmove

Summary: Overlooked codemod casualty

Reviewed By: mbouaziz

Differential Revision: D14385599

fbshipit-source-id: c6323722b
master
Josh Berdine 6 years ago committed by Facebook Github Bot
parent b59f444023
commit d10d30c5f0

@ -923,7 +923,7 @@ let xlate_instr :
let len = xlate_value x (Llvm.operand instr 2) in let len = xlate_value x (Llvm.operand instr 2) in
continue (fun (insts, term) -> continue (fun (insts, term) ->
(Llair.Inst.memcpy ~dst ~src ~len ~loc :: insts, term, []) ) (Llair.Inst.memcpy ~dst ~src ~len ~loc :: insts, term, []) )
| "llvm" :: "memmov" :: _ -> | "llvm" :: "memmove" :: _ ->
let dst = xlate_value x (Llvm.operand instr 0) in let dst = xlate_value x (Llvm.operand instr 0) in
let src = xlate_value x (Llvm.operand instr 1) in let src = xlate_value x (Llvm.operand instr 1) in
let len = xlate_value x (Llvm.operand instr 2) in let len = xlate_value x (Llvm.operand instr 2) in

Loading…
Cancel
Save