regehr's comments

regehr | 10 years ago | on: Souper – A Superoptimizer for LLVM IR

I'm one of the Souper developers and can offer a few pointers that may be more helpful than the github repo. Here's a somewhat recent blog post showing things that Souper can do:

  http://blog.regehr.org/archives/1252
Here's a talk I gave at the University of Washington last winter (before Souper did synthesis):

  https://www.youtube.com/watch?v=Ux0YnVEaI6A
Recently we've been teaching Souper to use dataflow facts such as LLVM's known bits and demanded bits. Perhaps interestingly, Souper can also teach LLVM how to compute these facts more precisely:

  http://lists.llvm.org/pipermail/llvm-dev/2015-September/089904.html
One really common question about Souper is "why operate on LLVM IR instead of instructions?" One of the main answers is "so that we can interact with dataflow analyses." This isn't something that previous superoptimizers have done. It seems to be working out really well.

regehr | 10 years ago | on: Finger Binary

My kids enjoy finger binary since they only need to count to four in order to give me the finger.

regehr | 10 years ago | on: LLVM for Grad Students

Many people have observed the LLVM appears to move unusually quickly. This is good except when it's bad.

regehr | 10 years ago | on: LLVM for Grad Students

Adrian might have mentioned an important drawback of using LLVM: active effort is required to keep up with it. Many an LLVM-based research project has gotten stuck on 2.9 or 3.2 at which point it starts becoming less and less relevant.

It's not that big of a deal, but active effort is required. The amount of effort depends on how many and which APIs your project uses; for a small/medium project perhaps a couple of hours every couple of weeks.

regehr | 10 years ago | on: Lost Highways: Old roads in Vermont

One of my favorite things is an old highway in Kansas that emerges from a reservoir that was created in the 1960s and then drops back into the water a short distance away. It's in an out-of-the-way location and we used to go sit on the pavement and drink beer when I was in high school.

regehr | 11 years ago | on: What afl-fuzz is bad at

The "without requiring you to think too much about the problem space" is pretty huge and it is where solver-based testing currently falls over (in my experience).

regehr | 11 years ago | on: Why don’t our brains explode at movie cuts?

Watching TV/movies is definitely something that we learn to do, though most of us learned so early that we no longer remember it.

Source: anecdotal evidence from friends/relatives who observed childrens' reactions when first exposed to TV/movies when they were relatively old.

regehr | 11 years ago | on: A Career in Science Will Cost You Your Firstborn

I routinely forego summer salary in order to make sure the students are fed. This works because I receive a perfectly adequate 9-month salary from the state (and also my household has two incomes).

regehr | 11 years ago | on: Automated Reasoning About LLVM Optimizations and Undefined Behavior

I'm the author of this piece. Everyone should go try out Alive instead of reading the blogpost:

https://github.com/nunoplopes/alive

Alive automates all of the stuff described in the post. Here's some info:

http://blog.regehr.org/archives/1170

Also we gave a talk at the LLVM Dev meeting a few weeks ago, the talk doesn't seem to be online (yet?) but here are David's slides:

http://www.cs.utah.edu/~regehr/devconf14.pdf

page 2