1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

possible switch lowering improvement.

llvm-svn: 45720
This commit is contained in:
Chris Lattner 2008-01-07 21:38:14 +00:00
parent 6f06a8e8d2
commit 66e631ace3

View File

@ -519,3 +519,8 @@ function, they should be sunk into the ones that do.
In this case, whole-function-isel would also handle this. In this case, whole-function-isel would also handle this.
//===---------------------------------------------------------------------===// //===---------------------------------------------------------------------===//
Investigate lowering of sparse switch statements into perfect hash tables:
http://burtleburtle.net/bob/hash/perfect.html
//===---------------------------------------------------------------------===//