[llvm-commits] atomic operator patch

Chris Lattner clattner at apple.com
Wed Apr 30 10:47:00 PDT 2008


On Apr 30, 2008, at 10:15 AM, Mon P Wang wrote:

> Hi Evan,
>
> I'll mark all the atomic operators that I added to expand.  I wasn't
> planning on it adding the others syncs yet.

One handy thing you can do is to mark them as expand by default in the  
TargetLowering ctor.  Then specific targets can mark them as legal or  
custom if they want to do something crazy with them.  I don't know if  
that helps in this case, but it generally means you don't have to  
touch each target to tell them to expand.

-Chris




More information about the llvm-commits mailing list