1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/include
Chris Lattner 8e840e942e Use the RHS length instead of the LHS length. They are both the same,
but this ends up compiling code like this:

int foo(const StringRef &R) {
  return R == "food";
}

to use a constant sized memcmp instead of a variable memcmp.

llvm-svn: 77160
2009-07-26 17:46:03 +00:00
..
llvm Use the RHS length instead of the LHS length. They are both the same, 2009-07-26 17:46:03 +00:00
llvm-c Put new enum at end of list to avoid changing ABI. 2009-07-20 18:22:52 +00:00