search for: 995397

Displaying 1 result from an estimated 1 matches for "995397".

Did you mean: 991397
2007 Jun 14
2
[LLVMdev] DAGCombiner: (S|U)REM
hi, currently, the DAGCombiner unconditionally converts (DAGCombiner::visit(U|S)REM) expressions of the form X % C for constants C into X-X/C*C. this makes sense in certain cases where the div/mul logic will simplify X/C*X but is counterproductive in general, especially if the multiply is expensive. also, this doesn't allow targets to custom lower rem operations. shouldn't this