Skip to content

Instantly share code, notes, and snippets.

View pftbest's full-sized avatar

Vadzim Dambrouski pftbest

View GitHub Profile
.p2align 2
.type _ZN4core3num14from_str_radix17h163fa34f02ec59b7E,@function
_ZN4core3num14from_str_radix17h163fa34f02ec59b7E: ; @_ZN4core3num14from_str_radix17h163fa34f02ec59b7E
; BB#0: ; %entry-block
push.w r11
push.w r10
push.w r9
push.w r8
push.w r7
push.w r6
@pftbest
pftbest / bugpoint-reduced-simplified.ll
Created November 18, 2016 07:27
MSP430 Assertion
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-70d0c91.bc"
target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
target triple = "msp430"
define void @_ZN4core3num6bignum5tests6Big8x37div_rem17h4a91efdf5fc031b4E() unnamed_addr {
entry-block:
br i1 undef, label %bb2, label %bb3
bb2: ; preds = %entry-block
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-679c617.bc"
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7m-none--eabi"
define void @"_ZN50_$LT$u32$u20$as$u20$core..num..bignum..FullOps$GT$12full_mul_add17h71cf046dadd25babE"({ i32, i32 }* noalias nocapture sret dereferenceable(8), i32, i32, i32, i32) unnamed_addr {
entry-block:
%5 = zext i32 %1 to i64
%6 = zext i32 %2 to i64
%7 = mul nuw i64 %6, %5