llvm.org GIT mirror llvm / 738c257
Merge from mainline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57725 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
179179 }]>;
180180 def MB : SDNodeXForm
181181 // Transformation function: get the start bit of a mask
182 unsigned mb, me;
182 unsigned mb = 0, me;
183183 (void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
184184 return getI32Imm(mb);
185185 }]>;
186186
187187 def ME : SDNodeXForm
188188 // Transformation function: get the end bit of a mask
189 unsigned mb, me;
189 unsigned mb, me = 0;
190190 (void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
191191 return getI32Imm(me);
192192 }]>;